Update src/main.py
Browse files- src/main.py +1 -5
src/main.py
CHANGED
|
@@ -30,11 +30,7 @@ app = FastAPI(
|
|
| 30 |
# CORS middleware for Frontend to communicate with Backend
|
| 31 |
app.add_middleware(
|
| 32 |
CORSMiddleware,
|
| 33 |
-
allow_origins=[
|
| 34 |
-
"chrome-extension://*",
|
| 35 |
-
"http://localhost:5173",
|
| 36 |
-
"http://localhost:8000",
|
| 37 |
-
],
|
| 38 |
allow_credentials=True,
|
| 39 |
allow_methods=["*"],
|
| 40 |
allow_headers=["*"],
|
|
|
|
| 30 |
# CORS middleware for Frontend to communicate with Backend
|
| 31 |
app.add_middleware(
|
| 32 |
CORSMiddleware,
|
| 33 |
+
allow_origins=["*"],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
allow_credentials=True,
|
| 35 |
allow_methods=["*"],
|
| 36 |
allow_headers=["*"],
|