mirror of
https://github.com/gotson/komga.git
synced 2025-12-07 09:03:08 +01:00
fix(api): set X-Frame-Options header to same origin for epubreader
This commit is contained in:
parent
6e5e7a942a
commit
85cae8af64
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ class SecurityConfiguration(
|
|||
}
|
||||
.headers { headersConfigurer ->
|
||||
headersConfigurer.cacheControl { it.disable() } // headers are set in WebMvcConfiguration
|
||||
headersConfigurer.frameOptions { it.sameOrigin() } // for epubreader iframes
|
||||
}
|
||||
.httpBasic {
|
||||
it.authenticationDetailsSource(userAgentWebAuthenticationDetailsSource)
|
||||
|
|
|
|||
Loading…
Reference in a new issue