[ENG-3583] Respect cors_allowed_origins for backend HTTP requests (#4533)
This commit is contained in:
parent
7208540855
commit
f4aea1b3ab
@ -436,7 +436,7 @@ class App(MiddlewareMixin, LifespanMixin):
|
|||||||
allow_credentials=True,
|
allow_credentials=True,
|
||||||
allow_methods=["*"],
|
allow_methods=["*"],
|
||||||
allow_headers=["*"],
|
allow_headers=["*"],
|
||||||
allow_origins=["*"],
|
allow_origins=get_config().cors_allowed_origins,
|
||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user