mirror of
https://github.com/outline/outline.git
synced 2026-04-24 19:29:43 -05:00
fix: Umami CSP with url including port, closes #8371
This commit is contained in:
@@ -76,7 +76,7 @@ export const renderApp = async (
|
||||
const csp = ctx.response.get("Content-Security-Policy");
|
||||
ctx.set(
|
||||
"Content-Security-Policy",
|
||||
csp.replace("script-src", `script-src ${parsed.hostname}`)
|
||||
csp.replace("script-src", `script-src ${parsed.host}`)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user