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