Skip to content

Commit

Permalink
things working on digital ocean! (have added my domain to cors in thi…
Browse files Browse the repository at this point in the history
…s commit)
  • Loading branch information
timf34 committed Jun 4, 2024
1 parent 7e0920a commit 5a75865
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
app.add_middleware(
CORSMiddleware,
# Allow your frontend origin
allow_origins=["http://localhost:3000", "http://157.245.72.83:3000"],
allow_origins=[
"http://localhost:3000",
"http://157.245.72.83:3000",
"http://article2audio.com",
"http://www.article2audio.com"
],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
Expand Down

0 comments on commit 5a75865

Please sign in to comment.