mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
FIX: Recent regression meant we were proxying qunit when we shouldn't (#12860)
This commit is contained in:
parent
b6aacc4c2d
commit
42251e2fe6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user