Skip to content

Commit f4aea1b

Browse files
authored
[ENG-3583] Respect cors_allowed_origins for backend HTTP requests (#4533)
1 parent 7208540 commit f4aea1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def _add_cors(self):
436436
allow_credentials=True,
437437
allow_methods=["*"],
438438
allow_headers=["*"],
439-
allow_origins=["*"],
439+
allow_origins=get_config().cors_allowed_origins,
440440
)
441441

442442
@property

0 commit comments

Comments
 (0)