From 5ee4e847d0691e5f6c93a827ac7c11af0f84db85 Mon Sep 17 00:00:00 2001 From: HaimKortovich Date: Fri, 24 Apr 2026 11:31:30 -0500 Subject: [PATCH] prefix urls with api --- app/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/main.py b/app/main.py index 5d60c8a..6f6a2e6 100644 --- a/app/main.py +++ b/app/main.py @@ -13,9 +13,9 @@ app = FastAPI( title="Document Service", version="1.0.0", description="Generic document management service with S3 storage and PDF field discovery", - openapi_url="/openapi", - docs_url="/docs", - redoc_url="/redoc" + openapi_url="/api/openapi", + docs_url="/api/docs", + redoc_url="/api/redoc" ) # Add auth middleware @@ -23,7 +23,7 @@ app.add_middleware(AuthMiddleware) app.add_middleware( CORSMiddleware, - allow_origins=["http://localhost:3000"], + allow_origins=["*"], allow_methods=["*"], allow_headers=["*"] )