From e0ef9e6874e64d560a4cd938073f03b595dbe2b9 Mon Sep 17 00:00:00 2001 From: Sk_Akib_Ahammed Date: Thu, 8 Jan 2026 15:37:12 +0530 Subject: [PATCH] removed few comments --- app/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/app.py b/app/app.py index 66b7d16..b329998 100644 --- a/app/app.py +++ b/app/app.py @@ -2,7 +2,6 @@ import os from fastapi import FastAPI, Security, File, UploadFile -#newly added for the cors problem from fastapi.middleware.cors import CORSMiddleware from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials from .schema import ( @@ -35,7 +34,6 @@ from .user import get_user_menu app = FastAPI() -# app/app.py app.add_middleware( CORSMiddleware, @@ -48,6 +46,7 @@ allow_methods=["*"], allow_headers=["*"], ) + security = HTTPBearer() @app.get("/health", tags=["health"])