We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07de3b commit dafff2aCopy full SHA for dafff2a
app.py
@@ -223,10 +223,10 @@ def get_redirect_uri(request):
223
"""Return OAuth redirect URI."""
224
parsed_url = urlparse(request.url)
225
if parsed_url.hostname == 'localhost':
226
- return 'https://{hostname}:{port}/submit'.format(
+ return 'http://{hostname}:{port}/submit'.format(
227
hostname=parsed_url.hostname, port=parsed_url.port
228
)
229
return 'https://{hostname}/submit'.format(hostname=parsed_url.hostname)
230
231
if __name__ == '__main__':
232
- app.run(port=7000, ssl_context='adhoc')
+ app.run(port=7000)
0 commit comments