diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-02 08:39:42 +0300 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-02 08:39:42 +0300 |
| commit | 69e67d049411ceb5c839386b020ce2c77ffc2847 (patch) | |
| tree | 9ec561545b64b57796ef2fd5f3fbd02239965cc1 /app/main.py | |
| parent | 7e41576035cd9f0004255a7490e6691c6d989ff6 (diff) | |
minor improvements
Diffstat (limited to 'app/main.py')
| -rw-r--r-- | app/main.py | 2 |
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") |
