10 lines
282 B
Python
10 lines
282 B
Python
"""WSGI entry point for the backoffice (port 9001)."""
|
|
from app import create_app
|
|
|
|
application = create_app("backoffice")
|
|
|
|
if __name__ == "__main__":
|
|
import os
|
|
port = int(os.environ.get("BACKOFFICE_PORT", "9001"))
|
|
application.run(host="0.0.0.0", port=port, debug=False)
|