This commit is contained in:
jpmvaz
2026-09-13 19:59:54 +01:00
commit d86f1ba099
46 changed files with 4138 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
"""WSGI entry point for AlertHub.
Serves the whole application — the frontoffice at the root and the backoffice
under /backoffice — on a single port.
"""
from app import create_app
application = create_app()
if __name__ == "__main__":
import os
port = int(os.environ.get("APP_PORT", os.environ.get("FRONTOFFICE_PORT", "8080")))
application.run(host="0.0.0.0", port=port, debug=False)