Ian Renton
c89e3b9e9e
Use set-response-header instead of add-response-header
...
When accessing Dump 1090 JSON from another web server, I found that the "Access-Control-Allow-Origin" parameter was set twice ("*, *") which Chrome objected to. By changing "add-response-header" to "set-response-header" we ensure that the correct header is sent, but never duplicated.
2020-07-26 09:27:02 +01:00
Oliver Jowett
c144507471
Actually serve data on 8080, not just a redirect.
...
(This is not ideal but plenty of people seem to be confused by the
redirect and how it interacts with NAT)
2016-09-22 16:49:45 +01:00
Oliver Jowett
802f1f9404
Add a redirect for map URLs with no trailing slash
2016-09-22 16:49:23 +01:00
Oliver Jowett
cfb02c1a7c
Try to avoid conflicting with other lighttpd config that
...
touches the stat cache settings.
2016-09-22 16:45:28 +01:00
Oliver Jowett
de94839339
Add a CORS header to data json files.
2016-07-10 15:26:44 +01:00
Oliver Jowett
7987598a72
Listen on port 8080 and redirect to port 80 for backwards compatibility.
2016-04-11 11:58:51 +01:00
Oliver Jowett
b19c1f9dd2
Merge branch 'upstream'
2016-02-17 19:42:39 +00:00
Oliver Jowett
b433a521bf
Start trimming dump1090-mutability down for use in piaware.
2016-01-13 00:00:08 +00:00