mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 13:13:38 +00:00
log policy, csp
This commit is contained in:
@@ -26,6 +26,8 @@ export async function middleware(request: NextRequest) {
|
|||||||
|
|
||||||
const securitySettings = await getSecuritySettings({ serviceUrl });
|
const securitySettings = await getSecuritySettings({ serviceUrl });
|
||||||
|
|
||||||
|
console.log(securitySettings, DEFAULT_CSP);
|
||||||
|
|
||||||
const instanceHost = `${serviceUrl}`
|
const instanceHost = `${serviceUrl}`
|
||||||
.replace("https://", "")
|
.replace("https://", "")
|
||||||
.replace("http://", "");
|
.replace("http://", "");
|
||||||
|
Reference in New Issue
Block a user