summaryrefslogtreecommitdiff
path: root/app/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.py')
-rw-r--r--app/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/main.py b/app/main.py
index d2925ed..8506b37 100644
--- a/app/main.py
+++ b/app/main.py
@@ -7,11 +7,13 @@ from app.routes import router as api_router
from app.utils.create_tables import init_db
from app.utils.db import engine
from app.utils.logger_cfg import logger
+from app.utils.cors import setup_cors
app_start_time = time.perf_counter()
logger.debug("App start timestamp recorded")
app = FastAPI()
+setup_cors(app)
logger.info("FastAPI application instance created")
logger.debug("FastAPI instance created successfully")