mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Allow qr code iframe
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
ae39e338fe
commit
8d6ce78c65
2 changed files with 10 additions and 0 deletions
|
@ -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 a new issue