fix: update paths, use X-Forwarded-Prefix header
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 43s

This commit is contained in:
2026-01-11 21:06:25 +01:00
parent a9271b2e87
commit 4edb2facc9
2 changed files with 4 additions and 4 deletions

2
app.py
View File

@@ -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