Spaces:
Runtime error
Runtime error
Commit ·
a6a2032
1
Parent(s): f8b25ce
Add config endpoint
Browse files- app/main.py +1 -1
- requirements.txt +0 -0
app/main.py
CHANGED
|
@@ -53,7 +53,7 @@ async def lifespan(app: FastAPI):
|
|
| 53 |
app = FastAPI(lifespan=lifespan)
|
| 54 |
# Allow CORS for specific origin with credentials
|
| 55 |
origins = [
|
| 56 |
-
"
|
| 57 |
]
|
| 58 |
app.add_middleware(
|
| 59 |
CORSMiddleware,
|
|
|
|
| 53 |
app = FastAPI(lifespan=lifespan)
|
| 54 |
# Allow CORS for specific origin with credentials
|
| 55 |
origins = [
|
| 56 |
+
os.getenv("client")
|
| 57 |
]
|
| 58 |
app.add_middleware(
|
| 59 |
CORSMiddleware,
|
requirements.txt
CHANGED
|
Binary files a/requirements.txt and b/requirements.txt differ
|
|
|