Skip to content

Commit

Permalink
fix: OOPS! wrong origin
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Dec 7, 2023
1 parent 0c985a1 commit c052092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zonalda/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async def geoloc(
# Allow requests *only* from ZONALDA app (or otherwise configured site name)
middleware_args = dict(
allow_origins=[
os.getenv("ORIGIN", "https://dhdaines.github.io/zonalda"),
os.getenv("ORIGIN", "https://dhdaines.github.io"),
],
)
app.add_middleware(
Expand Down

0 comments on commit c052092

Please sign in to comment.