Skip to content

Commit f31c26a

Browse files
committed
fix: mount path not working with v2
1 parent 92f54cd commit f31c26a

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
@@ -1140,7 +1140,7 @@ You have direct access to the Parse database through function calls, so you can
11401140
if (users && req.user && req.user.matchingUsername) {
11411141
res.append('username', req.user.matchingUsername);
11421142
}
1143-
if (!req.path.startsWith('/v2')) {
1143+
if (!req.path.startsWith(`${mountPath}v2`)) {
11441144
res.send(`<!DOCTYPE html>
11451145
<html>
11461146
<head>

0 commit comments

Comments
 (0)