prefix urls with api
All checks were successful
Build and Publish / build-release (push) Successful in 44s

This commit is contained in:
2026-04-24 11:31:30 -05:00
parent 49f2d1a97d
commit 5ee4e847d0

View File

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