Allow qr code iframe
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
8d6ce78c65
commit
2eff53b2bb
|
@ -93,9 +93,11 @@ $HTTP["url"] =~ "/teleporter\.php$" {
|
|||
}
|
||||
|
||||
# allow API qr code iframe on settings page
|
||||
$HTTP["url"] =~ "/admin/settings\.php$" {
|
||||
$HTTP["url"] =~ "/api_token\.php$" {
|
||||
$HTTP["referer"] =~ "/admin/settings\.php" {
|
||||
setenv.add-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
|
||||
}
|
||||
}
|
||||
|
||||
# Default expire header
|
||||
expire.url = ( "" => "access plus 0 seconds" )
|
||||
|
|
|
@ -101,9 +101,11 @@ $HTTP["url"] =~ "/teleporter\.php$" {
|
|||
}
|
||||
|
||||
# allow API qr code iframe on settings page
|
||||
$HTTP["url"] =~ "/admin/settings\.php$" {
|
||||
$HTTP["url"] =~ "/api_token\.php$" {
|
||||
$HTTP["referer"] =~ "/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