Ignore:
Timestamp:
2013-12-07T15:19:55+01:00 (10 years ago)
Author:
Don-vip
Message:

global use of osm website url and new url scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java

    r6243 r6453  
    1010import oauth.signpost.basic.DefaultOAuthProvider;
    1111
     12import org.openstreetmap.josm.Main;
    1213import org.openstreetmap.josm.data.Preferences;
    1314import org.openstreetmap.josm.io.OsmApi;
     
    3132     * The default OSM OAuth request token URL.
    3233     */
    33     static public final String DEFAULT_REQUEST_TOKEN_URL = "http://www.openstreetmap.org/oauth/request_token";
     34    static public final String DEFAULT_REQUEST_TOKEN_URL = Main.OSM_WEBSITE + "/oauth/request_token";
    3435    /**
    3536     * The default OSM OAuth access token URL.
    3637     */
    37     static public final String DEFAULT_ACCESS_TOKEN_URL = "http://www.openstreetmap.org/oauth/access_token";
     38    static public final String DEFAULT_ACCESS_TOKEN_URL = Main.OSM_WEBSITE + "/oauth/access_token";
    3839    /**
    3940     * The default OSM OAuth authorize URL.
    4041     */
    41     static public final String DEFAULT_AUTHORISE_URL = "http://www.openstreetmap.org/oauth/authorize";
     42    static public final String DEFAULT_AUTHORISE_URL = Main.OSM_WEBSITE + "/oauth/authorize";
    4243
    4344
Note: See TracChangeset for help on using the changeset viewer.