omkar56 commited on
Commit
91a3d66
·
1 Parent(s): 257d7e5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -16,8 +16,8 @@ API_KEY = os.environ.get("API_KEY")
16
  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,
 
16
  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,