Ignore:
Timestamp:
2009-06-22T11:48:41+02:00 (16 years ago)
Author:
stoecker
Message:

fixed #2744 - server url defaults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmApi.java

    r1684 r1688  
    7676     */
    7777    static public OsmApi getOsmApi() {
    78         String serverUrl = Main.pref.get("osm-server.url");
     78        String serverUrl = Main.pref.get("osm-server.url", "http://api.openstreetmap.org/api");
    7979        if (serverUrl == null)
    8080            throw new IllegalStateException(tr("preference ''{0}'' missing. Can't initialize OsmApi", "osm-server.url"));
Note: See TracChangeset for help on using the changeset viewer.