From c0520928d23a1cc03b2fedded7f9dda47d80f3a2 Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Thu, 7 Dec 2023 14:30:11 -0500 Subject: [PATCH] fix: OOPS! wrong origin --- zonalda/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zonalda/api.py b/zonalda/api.py index 25a4189..9f68bb9 100644 --- a/zonalda/api.py +++ b/zonalda/api.py @@ -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(