Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -3,9 +3,6 @@ from fastapi.middleware.cors import CORSMiddleware
|
|
3 |
|
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,
|
11 |
allow_origins=['*']
|
|
|
3 |
|
4 |
app = FastAPI()
|
5 |
|
|
|
|
|
|
|
6 |
app.add_middleware(
|
7 |
CORSMiddleware,
|
8 |
allow_origins=['*']
|