mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Recent regression meant we were proxying qunit when we shouldn't (#12860)
This commit is contained in:
@@ -161,6 +161,10 @@ function buildFromBootstrap(assetPath, proxy, req) {
|
||||
}
|
||||
|
||||
async function handleRequest(assetPath, proxy, req, res) {
|
||||
if (assetPath.endsWith("tests/index.html")) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (assetPath.endsWith("index.html")) {
|
||||
try {
|
||||
// Avoid Ember CLI's proxy if doing a GET, since Discourse depends on some non-XHR
|
||||
|
||||
Reference in New Issue
Block a user