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:
@@ -237,6 +237,10 @@ module.exports = {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (req.path.endsWith(".json")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
let baseURL =
|
let baseURL =
|
||||||
options.rootURL === ""
|
options.rootURL === ""
|
||||||
? "/"
|
? "/"
|
||||||
|
|||||||
Reference in New Issue
Block a user