This commit is contained in:
2026-01-08 01:00:26 +10:30
commit 211854ca0a
70 changed files with 5241 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
"""WSGI entry point for the application."""
from dotenv import load_dotenv, find_dotenv
# Load environment variables from .env file FIRST, before any imports
# This must be done before importing app to ensure config has access to env vars
load_dotenv(find_dotenv())
import os
from app import create_app
# Create application instance
app = create_app(os.getenv("FLASK_ENV", "development"))
if __name__ == "__main__":
app.run()