Allow qr code iframe
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
ae39e338fe
commit
8d6ce78c65
|
@ -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" )
|
||||
|
|
|
@ -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" )
|
||||
|
|
Loading…
Reference in New Issue