adds structure for virtual environment uwsgi and http communication
- starts uwsgi and flask in virtual environment instead of docker - sets oauth2 https error to false (OAUTHLIB_INSECURE_TRANSPORT=1) - this setup works, but - moving it into docker - removing the venv - and allowing https connection internally? would be better
This commit is contained in:
@ -22,6 +22,8 @@ from server import login_manager, app, db
|
||||
from server.forms import LoginForm, RegistrationForm
|
||||
from server.models import User, Calendar
|
||||
|
||||
os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1'
|
||||
|
||||
@app.route("/")
|
||||
def account():
|
||||
return flask.redirect('account')
|
||||
|
Reference in New Issue
Block a user