Skip to content

Commit 4c155f1

Browse files
committed
fix: mount path not working with v2
1 parent e3e402e commit 4c155f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parse-Dashboard/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ module.exports = function (config, options) {
229229
if (users && req.user && req.user.matchingUsername) {
230230
res.append('username', req.user.matchingUsername);
231231
}
232-
if (!req.path.startsWith('/v2')) {
232+
if (!req.path.startsWith(`${mountPath}v2`)) {
233233
res.send(`<!DOCTYPE html>
234234
<html>
235235
<head>

0 commit comments

Comments
 (0)