Skip to content

Commit

Permalink
t8
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzyy committed Oct 26, 2024
1 parent b255868 commit b230fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

# print(os.getenv("GITHUB_PERSONAL_ACCESS_TOKEN"))
# Allow origins, using environment variable
origins = [os.getenv("FRONTEND_URL"), "http://localhost:3000"]
# origins = [os.getenv("FRONTEND_URL"), "http://localhost:3000"]
app.add_middleware(
CORSMiddleware,
# allow_origins=["http://localhost:3000"], # Adjust this if necessary
allow_origins=origins, # Adjust this if necessary
allow_origins=["*"], # Adjust this if necessary
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
Expand Down

0 comments on commit b230fd2

Please sign in to comment.