mirror of
https://github.com/anotherhadi/default-creds.git
synced 2026-04-02 11:32:11 +02:00
Add umami to CORS
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -53,8 +53,8 @@ const SECURITY_HEADERS: Record<string, string> = {
|
|||||||
"default-src 'self'",
|
"default-src 'self'",
|
||||||
"img-src 'self' cdn.jsdelivr.net data:",
|
"img-src 'self' cdn.jsdelivr.net data:",
|
||||||
"style-src 'self' 'unsafe-inline'",
|
"style-src 'self' 'unsafe-inline'",
|
||||||
"script-src 'self' 'unsafe-inline' static.cloudflareinsights.com",
|
"script-src 'self' 'unsafe-inline' static.cloudflareinsights.com umami.hadi.diy",
|
||||||
"connect-src 'self' cloudflareinsights.com",
|
"connect-src 'self' cloudflareinsights.com umami.hadi.diy",
|
||||||
"frame-ancestors 'none'",
|
"frame-ancestors 'none'",
|
||||||
].join("; "),
|
].join("; "),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user