There was an error while loading. Please reload this page.
1 parent fac1dca commit 0493f13Copy full SHA for 0493f13
.lighttpd.conf
@@ -1,3 +1,6 @@
1
+setenv.add-response-header += ( "Access-Control-Allow-Origin" => "*",
2
+ "Access-Control-Allow-Methods" => "POST, GET, OPTIONS" )
3
+
4
url.rewrite-once = (
5
"/whois/([0-9A-Fa-f\:\.]*)/redirect/(\w*)/?$" => "/whois/gateway.py?ip=$1&provider=$2",
6
"/whois/([^/%]+)/lookup/json/?$" => "/whois/gateway.py?ip=$1&lookup=true&format=json",
0 commit comments