Spaces:
Sleeping
Sleeping
Chandima Prabhath
commited on
Commit
·
27fe713
1
Parent(s):
c0f4f93
patch
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ app = FastAPI(title="Multiplayer Checkers Backend")
|
|
13 |
# CORS middleware for frontend integration
|
14 |
app.add_middleware(
|
15 |
CORSMiddleware,
|
16 |
-
allow_origins=["
|
17 |
allow_credentials=True,
|
18 |
allow_methods=["*"],
|
19 |
allow_headers=["*"],
|
|
|
13 |
# CORS middleware for frontend integration
|
14 |
app.add_middleware(
|
15 |
CORSMiddleware,
|
16 |
+
allow_origins=["http://localhost:5173", "https://pachekers.netlify.app"],
|
17 |
allow_credentials=True,
|
18 |
allow_methods=["*"],
|
19 |
allow_headers=["*"],
|