Browse Source

Can now use API methods that're complete URLs

master
Chris Smith 15 years ago
parent
commit
eb9ec859d4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/uk/co/md87/evetool/api/io/ApiDownloader.java

+ 1
- 1
src/uk/co/md87/evetool/api/io/ApiDownloader.java View File

@@ -138,7 +138,7 @@ public class ApiDownloader {
138 138
     }
139 139
 
140 140
     protected static String getUrl(final String method) {
141
-        return API_HOST + method;
141
+        return method.startsWith("http") ? method : API_HOST + method;
142 142
     }
143 143
 
144 144
 }

Loading…
Cancel
Save