Spaces:
Runtime error
Runtime error
VikramSingh178
commited on
Commit
•
6903841
1
Parent(s):
d501938
chore: Update FastAPI endpoints to use HTTPS
Browse files- api/endpoints.py +1 -1
api/endpoints.py
CHANGED
@@ -14,7 +14,7 @@ logfire.configure(pydantic_plugin=logfire.PydanticPlugin(record='all'))
|
|
14 |
|
15 |
|
16 |
|
17 |
-
app = FastAPI(openapi_url='/api/v1/product-diffusion/openapi.json',docs_url='/api/v1/
|
18 |
app.add_middleware(
|
19 |
CORSMiddleware,
|
20 |
allow_origins = ["*"],
|
|
|
14 |
|
15 |
|
16 |
|
17 |
+
app = FastAPI(openapi_url='/api/v1/product-diffusion/openapi.json',docs_url='/api/v1/product-diffusion/docs')
|
18 |
app.add_middleware(
|
19 |
CORSMiddleware,
|
20 |
allow_origins = ["*"],
|