root-sajjan
commited on
all requests allowed
Browse files
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 |
)
|