When generating account path for users to click on, even though the website is running via http, the user needs to have the protocol from config (e.g. https) in the url to click on, e.g. in flaskr.py, instead of:
p = urlparse.urlparse(request.url)
urlPrefix = str(p.scheme) + "://" + str(p.netloc)
I need to change p.scheme to be the protocol from Config.py.
When generating account path for users to click on, even though the website is running via http, the user needs to have the protocol from config (e.g. https) in the url to click on, e.g. in flaskr.py, instead of: p = urlparse.urlparse(request.url) urlPrefix = str(p.scheme) + "://" + str(p.netloc)
I need to change p.scheme to be the protocol from Config.py.