Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -17,7 +17,7 @@ app = FastAPI()
|
|
17 |
# CORS issue write below code
|
18 |
origins = [
|
19 |
"http://localhost:3000", # Update this with the actual origin of your frontend
|
20 |
-
"http://192.168.0.104:3000",
|
21 |
]
|
22 |
app.add_middleware(
|
23 |
CORSMiddleware,
|
|
|
17 |
# CORS issue write below code
|
18 |
origins = [
|
19 |
"http://localhost:3000", # Update this with the actual origin of your frontend
|
20 |
+
# "http://192.168.0.104:3000",
|
21 |
]
|
22 |
app.add_middleware(
|
23 |
CORSMiddleware,
|