mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-19 16:24:13 +03:00
Disable CSP for now
This commit is contained in:
parent
39cb3455db
commit
92b7ef40af
@ -74,7 +74,7 @@ func secureMiddleware() func(h http.Handler) http.Handler {
|
|||||||
FrameDeny: true,
|
FrameDeny: true,
|
||||||
ReferrerPolicy: "same-origin",
|
ReferrerPolicy: "same-origin",
|
||||||
FeaturePolicy: "autoplay 'none'; camera: 'none'; display-capture 'none'; microphone: 'none'; usb: 'none'",
|
FeaturePolicy: "autoplay 'none'; camera: 'none'; display-capture 'none'; microphone: 'none'; usb: 'none'",
|
||||||
ContentSecurityPolicy: "script-src 'self' 'unsafe-inline'",
|
//ContentSecurityPolicy: "script-src 'self' 'unsafe-inline'",
|
||||||
})
|
})
|
||||||
return sec.Handler
|
return sec.Handler
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user