Spaces:
Sleeping
Sleeping
updated frontend new api link
Browse files
main.py
CHANGED
|
@@ -16,7 +16,7 @@ app = FastAPI(
|
|
| 16 |
# CORS
|
| 17 |
app.add_middleware(
|
| 18 |
CORSMiddleware,
|
| 19 |
-
allow_origins=["http://localhost:5173", "http://localhost:3000"],
|
| 20 |
allow_credentials=True,
|
| 21 |
allow_methods=["*"],
|
| 22 |
allow_headers=["*"],
|
|
|
|
| 16 |
# CORS
|
| 17 |
app.add_middleware(
|
| 18 |
CORSMiddleware,
|
| 19 |
+
allow_origins=["http://localhost:5173", "http://localhost:3000","https://hate-shield-bn-frontend.vercel.app"],
|
| 20 |
allow_credentials=True,
|
| 21 |
allow_methods=["*"],
|
| 22 |
allow_headers=["*"],
|