Skip to content

Commit

Permalink
[ENG-3583] Respect cors_allowed_origins for backend HTTP requests
Browse files Browse the repository at this point in the history
  • Loading branch information
masenf committed Dec 12, 2024
1 parent 2d9849e commit 6f8f9d5
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 6f8f9d5

Please sign in to comment.