diff --git a/app.py b/app.py index 8d0b78c..c2930c5 100644 --- a/app.py +++ b/app.py @@ -7,7 +7,7 @@ import random import string app = Flask(__name__) -app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1) +app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1, x_prefix=1) app.secret_key = 'eng5iikeiwah3lae4idoo0woh4eiy6Th' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////app/homeschooling.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False diff --git a/templates/base.html b/templates/base.html index c5e9990..0d2028c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,13 +4,13 @@ - - + + {% block head %}