root-sajjan commited on
Commit
4f45aec
·
verified ·
1 Parent(s): e5c469f

all requests allowed

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,7 +152,7 @@ def cleanup_images(directory: str):
152
  # code to accept the localhost to get images from
153
  app.add_middleware(
154
  CORSMiddleware,
155
- allow_origins=["http://192.168.56.1:3000", "http://192.168.56.1:3001", "https://recognizethis.netlify.app/"],
156
  allow_methods=["*"],
157
  allow_headers=["*"],
158
  )
 
152
  # code to accept the localhost to get images from
153
  app.add_middleware(
154
  CORSMiddleware,
155
+ allow_origins=["http://192.168.56.1:3000", "http://192.168.56.1:3001", "https://recognizethis.netlify.app/", "*"],
156
  allow_methods=["*"],
157
  allow_headers=["*"],
158
  )