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=["*"] )