Last active
March 4, 2017 22:05
-
-
Save maplethorpej/4177055aa24e2c479b836dd73aaa19e4 to your computer and use it in GitHub Desktop.
Wildcard route for .well-known SSL verification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wildcard route for ssl verification | |
@app.route('/', defaults={'path': ''}) | |
@app.route('/.well-known/<path:path>') | |
def ssl_cert(path): | |
return render_template('.well-known/' + path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment