From 69e67d049411ceb5c839386b020ce2c77ffc2847 Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Thu, 2 Apr 2026 08:39:42 +0300 Subject: minor improvements --- app/main.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/main.py') 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") -- cgit v1.3-3-g829e