mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: If we want a .json
path, don't bootstrap (#12772)
This commit is contained in:
parent
d44deb45f3
commit
8f244cd1b9
@ -237,6 +237,10 @@ module.exports = {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (req.path.endsWith(".json")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
let baseURL =
|
||||
options.rootURL === ""
|
||||
? "/"
|
||||
|
Loading…
Reference in New Issue
Block a user