mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:20:57 -06:00
DEV: Fix the /tests path in ember-cli server (#15075)
This commit is contained in:
parent
e217364a46
commit
9105163882
@ -309,6 +309,10 @@ to serve API requests. For example:
|
||||
},
|
||||
|
||||
shouldHandleRequest(request) {
|
||||
if (request.path === "/tests/index.html") {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (request.get("Accept") && request.get("Accept").includes("text/html")) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user