Skip to content

Commit b4c2cf6

Browse files
committed
fix: vite svg link
1 parent 1fcb7a0 commit b4c2cf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Parse-Dashboard/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ module.exports = function (config, options) {
6363
}
6464

6565
// wait for app to mount in order to get mountpath
66-
app.on('mount', function () {
66+
app.on('mount', function (parent) {
67+
parent.use('/v2/', express.static(path.join(__dirname, 'public/v2')));
6768
const mountPath = getMount(app.mountpath);
6869
const users = config.users;
6970
const useEncryptedPasswords = config.useEncryptedPasswords ? true : false;

0 commit comments

Comments
 (0)