Skip to content

Commit

Permalink
Merge pull request #326 from mapillary/refactor-update-s3-urls
Browse files Browse the repository at this point in the history
refactor: update cloudfront urls
  • Loading branch information
kratico authored Feb 25, 2019
2 parents 78558b5 + fe289ee commit a9a37ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/download_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
BASE_DIR = 'downloaded/'
# See https://www.mapillary.com/developer/api-documentation/
MAPILLARY_API_IM_SEARCH_URL = 'https://a.mapillary.com/v3/images?'
MAPILLARY_API_IM_RETRIEVE_URL = 'https://d1cuyjsrcm0gby.cloudfront.net/'
MAPILLARY_API_IM_RETRIEVE_URL = 'https://images.mapillary.com/'
CLIENT_ID = 'TG1sUUxGQlBiYWx2V05NM0pQNUVMQTo2NTU3NTBiNTk1NzM1Y2U2'


Expand Down
2 changes: 1 addition & 1 deletion mapillary_tools/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from .utils import force_decode

if os.getenv("AWS_S3_ENDPOINT", None) is None:
MAPILLARY_UPLOAD_URL = "https://d22zcsn13kp53w.cloudfront.net/"
MAPILLARY_UPLOAD_URL = "https://secure-upload.mapillary.com/"
else:
MAPILLARY_UPLOAD_URL = "{}/{}".format(
os.getenv("AWS_S3_ENDPOINT"), "mtf-upload-images")
Expand Down

0 comments on commit a9a37ef

Please sign in to comment.