Spaces:
Sleeping
Sleeping
Commit ·
81238fa
1
Parent(s): 0ab4c23
commit 0000002362
Browse files
app.py
CHANGED
|
@@ -10,7 +10,9 @@ load_dotenv()
|
|
| 10 |
app = FastAPI(
|
| 11 |
title="Public API Gateway",
|
| 12 |
description="Proxies requests from React → private backend securely",
|
| 13 |
-
version="1.0"
|
|
|
|
|
|
|
| 14 |
)
|
| 15 |
|
| 16 |
# Allow React frontend to call this API
|
|
|
|
| 10 |
app = FastAPI(
|
| 11 |
title="Public API Gateway",
|
| 12 |
description="Proxies requests from React → private backend securely",
|
| 13 |
+
version="1.0",
|
| 14 |
+
docs_url="/apidocs", # Swagger UI at /apidocs
|
| 15 |
+
redoc_url="/redoc"
|
| 16 |
)
|
| 17 |
|
| 18 |
# Allow React frontend to call this API
|