Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,10 @@ app.add_middleware(
|
|
| 11 |
allow_credentials=True,
|
| 12 |
allow_methods=["*"],
|
| 13 |
allow_headers=["*"],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
)
|
| 15 |
|
| 16 |
games = {}
|
|
|
|
| 11 |
allow_credentials=True,
|
| 12 |
allow_methods=["*"],
|
| 13 |
allow_headers=["*"],
|
| 14 |
+
Access-Control-Allow-Origin: *,
|
| 15 |
+
Access-Control-Allow-Methods: GET, POST, OPTIONS,
|
| 16 |
+
Access-Control-Allow-Headers: Content-Type,
|
| 17 |
+
|
| 18 |
)
|
| 19 |
|
| 20 |
games = {}
|