diff --git a/debian/lighttpd/89-dump1090-fa.conf b/debian/lighttpd/89-dump1090-fa.conf index baf6524..477c99c 100644 --- a/debian/lighttpd/89-dump1090-fa.conf +++ b/debian/lighttpd/89-dump1090-fa.conf @@ -21,19 +21,23 @@ # server.modules += ( "mod_alias" ) alias.url += ( - "/dump1090-fa/data/" => "/run/dump1090-fa/", - "/dump1090-fa/" => "/usr/share/dump1090-fa/html/" + "/skyaware/data-1090/" => "/run/dump1090-fa/", + "/skyaware/data-978/" => "/run/skyaware978/", + "/skyaware/" => "/usr/share/dump1090-fa/html/" ) # redirect the slash-less URL url.redirect += ( - "^/dump1090-fa$" => "/dump1090-fa/" + "^/skyaware$" => "/skyaware/", + "^/dump1090-fa$" => "/skyaware/", + "^/dump1090-fa/" => "/skyaware/" ) # Listen on port 8080 and serve the map there, too. $SERVER["socket"] == ":8080" { alias.url += ( - "/data/" => "/run/dump1090-fa/", + "/data-1090/" => "/run/dump1090-fa/", + "/data-978/" => "/run/skyaware978/", "/" => "/usr/share/dump1090-fa/html/" ) } diff --git a/public_html/formatter.js b/public_html/formatter.js index 957ff84..3ae7420 100644 --- a/public_html/formatter.js +++ b/public_html/formatter.js @@ -234,6 +234,8 @@ function format_latlng(p) { function format_data_source(source) { switch (source) { + case 'uat': + return "UAT"; case 'mlat': return "MLAT"; case 'adsb_icao': diff --git a/public_html/index.html b/public_html/index.html index 95d239e..8147c6a 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -213,12 +213,15 @@