Skip to content

Commit 0493f13

Browse files
author
ST47
committed
Add a setting to lighttpd.conf from the upstream version of this tool on toolforge
1 parent fac1dca commit 0493f13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.lighttpd.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
setenv.add-response-header += ( "Access-Control-Allow-Origin" => "*",
2+
"Access-Control-Allow-Methods" => "POST, GET, OPTIONS" )
3+
14
url.rewrite-once = (
25
"/whois/([0-9A-Fa-f\:\.]*)/redirect/(\w*)/?$" => "/whois/gateway.py?ip=$1&provider=$2",
36
"/whois/([^/%]+)/lookup/json/?$" => "/whois/gateway.py?ip=$1&lookup=true&format=json",

0 commit comments

Comments
 (0)