Skip to content

Commit

Permalink
[ENG-3583] Respect cors_allowed_origins for backend HTTP requests (#4533
Browse files Browse the repository at this point in the history
)
  • Loading branch information
masenf authored Dec 13, 2024
1 parent 7208540 commit f4aea1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4aea1b

Please sign in to comment.