mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 11:15:43 +08:00
DEV: Don't forward test-i18n.js
requests (#17422)
This fixes i18n related tests in dev env
This commit is contained in:
parent
2414a175cf
commit
6487179dec
@ -392,9 +392,12 @@ to serve API requests. For example:
|
||||
|
||||
shouldForwardRequest(request) {
|
||||
if (
|
||||
["/tests/index.html", "/ember-cli-live-reload.js", "/testem.js"].includes(
|
||||
request.path
|
||||
)
|
||||
[
|
||||
"/tests/index.html",
|
||||
"/ember-cli-live-reload.js",
|
||||
"/testem.js",
|
||||
"/assets/test-i18n.js",
|
||||
].includes(request.path)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user