Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change API URL from http to https. #11

Merged
merged 1 commit into from
May 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion osmhm_site/views/key_watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def key_watch(request):
objects[event.username][event.key][event.value] = 0
if event.changeset not in changesets[event.username][event.key][event.value]:
changesets[event.username][event.key][event.value].append(event.changeset)
changeset_strs[event.username][event.key][event.value] += ('<a href="http://www.openstreetmap.org/changeset/%s" target="_blank">%s</a> (%s), ' % (str(event.changeset), str(event.changeset), str(event.timestamp)))
changeset_strs[event.username][event.key][event.value] += ('<a href="https://www.openstreetmap.org/changeset/%s" target="_blank">%s</a> (%s), ' % (str(event.changeset), str(event.changeset), str(event.timestamp)))
objects[event.username][event.key][event.value] += 1

for event in history:
Expand Down
2 changes: 1 addition & 1 deletion osmhm_site/views/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
ACCESS_TOKEN_URL = '%s/access_token' % BASE_URL
AUTHORIZE_URL = '%s/authorize' % BASE_URL

USER_DETAILS_URL = 'http://api.openstreetmap.org/api/0.6/user/details'
USER_DETAILS_URL = 'https://api.openstreetmap.org/api/0.6/user/details'

consumer = oauth.Consumer(CONSUMER_KEY, CONSUMER_SECRET)

Expand Down