Files
2026-09-13 19:59:54 +01:00

14 lines
403 B
Python

"""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)