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

fix local serving sslify #20

Merged
merged 3 commits into from Sep 8, 2014
Merged

fix local serving sslify #20

merged 3 commits into from Sep 8, 2014

Conversation

zheller
Copy link
Contributor

@zheller zheller commented Sep 8, 2014

Fix #19

Also run devserver by default.

@@ -48,6 +48,7 @@ Click the button below to set up this sample app on Heroku:
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

After creating your app on Heroku, you have to configure the redirect URL for your Uber OAuth app. Use a `https://{my-app-name}.herokuapp.com/submit` URL.
You will also want to configure the heroku environment variable FLASK_DEBUG=False in order to properly serve ssl traffic.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/ssl/SSL/

@ascandella
Copy link
Contributor

lg pending travis

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.59%) when pulling 3990a20 on zh-fix-sslify into 1e07680 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.59%) when pulling 3990a20 on zh-fix-sslify into 1e07680 on master.

@@ -229,4 +229,6 @@ def get_redirect_uri(request):
return 'https://{hostname}/submit'.format(hostname=parsed_url.hostname)

if __name__ == '__main__':
debug = os.environ.get('FLASK_DEBUG', True)
app.debug = debug
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the intermediate variable?

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.31%) when pulling aa25360 on zh-fix-sslify into 1e07680 on master.

zheller added a commit that referenced this pull request Sep 8, 2014
@zheller zheller merged commit 2fedc3c into master Sep 8, 2014
@zheller zheller deleted the zh-fix-sslify branch September 8, 2014 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unknown SSL protocol
3 participants