Skip to content

Commit fa0301b

Browse files
committed
fix: vite svg link
1 parent 6871d77 commit fa0301b

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
@@ -78,7 +78,8 @@ module.exports = function (config, options) {
7878
}
7979

8080
// wait for app to mount in order to get mountpath
81-
app.on('mount', function () {
81+
app.on('mount', function (parent) {
82+
parent.use('/v2/', express.static(path.join(__dirname, 'public/v2')));
8283
const mountPath = getMount(app.mountpath);
8384
const users = config.users;
8485
const useEncryptedPasswords = config.useEncryptedPasswords ? true : false;

0 commit comments

Comments
 (0)