Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -4,7 +4,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
origins = ['http://localhost:3000', 'http://127.0.0.1:3000',
|
| 7 |
-
'https://localhost:3000', 'https://127.0.0.1:3000']
|
| 8 |
|
| 9 |
app.add_middleware(
|
| 10 |
CORSMiddleware,
|
|
|
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
origins = ['http://localhost:3000', 'http://127.0.0.1:3000',
|
| 7 |
+
'https://localhost:3000', 'https://127.0.0.1:3000', 'https://codepen.io/']
|
| 8 |
|
| 9 |
app.add_middleware(
|
| 10 |
CORSMiddleware,
|