From 6f8f9d5d438d3bed8aabf41830b19971b546e699 Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Thu, 12 Dec 2024 11:46:04 -0800 Subject: [PATCH] [ENG-3583] Respect cors_allowed_origins for backend HTTP requests --- reflex/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/app.py b/reflex/app.py index 67bb203fa2..3f89a52bd7 100644 --- a/reflex/app.py +++ b/reflex/app.py @@ -436,7 +436,7 @@ def _add_cors(self): allow_credentials=True, allow_methods=["*"], allow_headers=["*"], - allow_origins=["*"], + allow_origins=get_config().cors_allowed_origins, ) @property