FIX: If we want a `.json` path, don't bootstrap (#12772)

This commit is contained in:
Robin Ward 2021-04-20 14:26:15 -04:00 committed by GitHub
parent d44deb45f3
commit 8f244cd1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -237,6 +237,10 @@ module.exports = {
return false;
}
if (req.path.endsWith(".json")) {
return false;
}
let baseURL =
options.rootURL === ""
? "/"