Skip to content

Commit dafff2a

Browse files
committed
Removed changes for another PR
1 parent a07de3b commit dafff2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ def get_redirect_uri(request):
223223
"""Return OAuth redirect URI."""
224224
parsed_url = urlparse(request.url)
225225
if parsed_url.hostname == 'localhost':
226-
return 'https://{hostname}:{port}/submit'.format(
226+
return 'http://{hostname}:{port}/submit'.format(
227227
hostname=parsed_url.hostname, port=parsed_url.port
228228
)
229229
return 'https://{hostname}/submit'.format(hostname=parsed_url.hostname)
230230

231231
if __name__ == '__main__':
232-
app.run(port=7000, ssl_context='adhoc')
232+
app.run(port=7000)

0 commit comments

Comments
 (0)