mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-17 21:59:55 +00:00
rewrite js files to a valid stub
This commit is contained in:
parent
f09745b4ad
commit
a44a201f00
@ -53,4 +53,6 @@ $HTTP["url"] =~ "^/admin/" {
|
||||
$HTTP["url"] =~ "^(?!/admin)/.*" {
|
||||
# Create a response header for debugging using curl -I
|
||||
setenv.add-response-header = ( "X-Pi-hole" => "A black hole for Internet advertisements." )
|
||||
# rewrite only js requests
|
||||
url.rewrite = ("(.*).js" => "pihole/index.js")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user