Allow qr code iframe

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2021-12-10 07:09:42 +01:00
parent ae39e338fe
commit 8d6ce78c65
No known key found for this signature in database
GPG Key ID: 4CDA6F249DD2B485
2 changed files with 10 additions and 0 deletions

View File

@ -92,5 +92,10 @@ $HTTP["url"] =~ "/teleporter\.php$" {
}
}
# allow API qr code iframe on settings page
$HTTP["url"] =~ "/admin/settings\.php$" {
setenv.add-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
}
# Default expire header
expire.url = ( "" => "access plus 0 seconds" )

View File

@ -100,5 +100,10 @@ $HTTP["url"] =~ "/teleporter\.php$" {
}
}
# allow API qr code iframe on settings page
$HTTP["url"] =~ "/admin/settings\.php$" {
setenv.add-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
}
# Default expire header
expire.url = ( "" => "access plus 0 seconds" )