Spaces:
Sleeping
Sleeping
Ruzzel Mendoza commited on
Commit ·
682dadb
1
Parent(s): 7c8d720
allow origins on web app deployment urls
Browse files
main.py
CHANGED
|
@@ -17,6 +17,8 @@ app.add_middleware(
|
|
| 17 |
allow_credentials=True,
|
| 18 |
allow_methods=["*"],
|
| 19 |
allow_headers=["*"],
|
|
|
|
|
|
|
| 20 |
)
|
| 21 |
|
| 22 |
app.include_router(router)
|
|
|
|
| 17 |
allow_credentials=True,
|
| 18 |
allow_methods=["*"],
|
| 19 |
allow_headers=["*"],
|
| 20 |
+
allow_origins=["https://artforgelab.vercel.app", "https://thesis-web-ix3hpczsc-mendozaruzzel103-6330s-projects.vercel.app"],
|
| 21 |
+
|
| 22 |
)
|
| 23 |
|
| 24 |
app.include_router(router)
|