Skip to content

Commit 899a286

Browse files
committed
Added a frontend origin.
1 parent a21d508 commit 899a286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Allow CORS for your frontend origin
2727
app.add_middleware(
2828
CORSMiddleware,
29-
allow_origins=["http://localhost:8000", "http://localhost:8001", "http://ocr.petprojects.in"], # Frontend origin
29+
allow_origins=["http://localhost:8000", "http://localhost:8001", "http://ocr.petprojects.in", "http://nlp.petprojects.in"], # Frontend origin
3030
allow_credentials=True,
3131
allow_methods=["*"],
3232
allow_headers=["*"],

0 commit comments

Comments
 (0)