diff --git a/debian/lighttpd/89-dump1090-fa.conf b/debian/lighttpd/89-dump1090-fa.conf index 5bb37af..baf6524 100644 --- a/debian/lighttpd/89-dump1090-fa.conf +++ b/debian/lighttpd/89-dump1090-fa.conf @@ -41,7 +41,7 @@ $SERVER["socket"] == ":8080" { # Add CORS header server.modules += ( "mod_setenv" ) $HTTP["url"] =~ "^/dump1090-fa/data/.*\.json$" { - setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" ) + setenv.set-response-header = ( "Access-Control-Allow-Origin" => "*" ) } # Uncomment this section to enable SSL traffic (HTTPS) - especially useful