altosui: Move launch-sites.txt file to altusmetrum.org
authorKeith Packard <keithp@keithp.com>
Wed, 10 Aug 2011 22:00:44 +0000 (15:00 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 10 Aug 2011 22:00:44 +0000 (15:00 -0700)
The official URL is now:

http://www.altusmetrum.org/AltOS/launch-sites.txt

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/Altos.java
altosui/AltosSiteMapPreload.java

index d90c418..73dc746 100644 (file)
@@ -80,6 +80,8 @@ public class Altos {
                "Off", "Standard Telemetry", "TeleMetrum v0.9", "TeleMetrum v0.8"
        };
 
+       static final String launch_sites_url = "http://www.altusmetrum.org/AltOS/launch-sites.txt";
+
        static final int ao_telemetry_standard_len = 32;
        static final int ao_telemetry_0_9_len = 95;
        static final int ao_telemetry_0_8_len = 94;
index 5d437e1..aa07beb 100644 (file)
@@ -204,7 +204,7 @@ class AltosSites extends Thread {
                sites = new LinkedList<AltosSite>();
                preload = in_preload;
                try {
-                       url = new URL("http://gag.com/~keithp/launch-sites.txt");
+                       url = new URL(Altos.launch_sites_url);
                } catch (java.net.MalformedURLException e) {
                        notify_complete();
                }