v_2.3
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user