This commit is contained in:
jpmvaz
2026-09-13 20:09:20 +01:00
commit 9b5cc30fb4
482 changed files with 57569 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)