Changeset 32987 in osm for applications/editors


Ignore:
Timestamp:
2016-09-11T18:31:53+02:00 (8 years ago)
Author:
nokutu
Message:

adjusting the OAuth URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/MapillaryURL.java

    r32573 r32987  
    2020  private static final String BASE_API_V3_URL = "https://a.mapillary.com/v3/";
    2121  private static final String BASE_WEBSITE_URL = "https://www.mapillary.com/";
     22  private static final String LEGACY_WEBSITE_URL = "https://legacy.mapillary.com/";
    2223
    2324  public enum IMAGE_SELECTOR {
     
    7273    parts.put("response_type", "token");
    7374    parts.put("scope", "user:read public:upload public:write");
    74     return string2URL(BASE_WEBSITE_URL, "connect", queryString(parts));
     75    return string2URL(LEGACY_WEBSITE_URL, "connect", queryString(parts));
    7576  }
    7677
Note: See TracChangeset for help on using the changeset viewer.