DEV: Fix /logs in dev env (#17933)

The space character was missing in CSP between `_lr` and `logs` urls.
This commit is contained in:
Jarek Radosz 2022-08-15 18:56:23 +02:00 committed by GitHub
parent ef505c0b73
commit 2a1de963ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ async function handleRequest(proxy, baseURL, req, res) {
const newCSP = csp
.replaceAll(proxy, `http://${originalHost}`)
.replaceAll("script-src ", `script-src ${emberCliAdditions}`);
.replaceAll("script-src ", `script-src ${emberCliAdditions} `);
res.set("content-security-policy", newCSP);
}