Merge branch 'worktree-iso-phase-4' into macros
This commit is contained in:
@@ -563,6 +563,9 @@ def mount_io_endpoint(app: Any, service_name: str) -> None:
|
|||||||
if isinstance(_val, _Comp) and _val.io_refs:
|
if isinstance(_val, _Comp) and _val.io_refs:
|
||||||
_ALLOWED_IO.update(_val.io_refs)
|
_ALLOWED_IO.update(_val.io_refs)
|
||||||
|
|
||||||
|
from shared.browser.app.csrf import csrf_exempt
|
||||||
|
|
||||||
|
@csrf_exempt
|
||||||
async def io_proxy(name: str) -> Any:
|
async def io_proxy(name: str) -> Any:
|
||||||
if name not in _ALLOWED_IO:
|
if name not in _ALLOWED_IO:
|
||||||
quart_abort(403)
|
quart_abort(403)
|
||||||
|
|||||||
Reference in New Issue
Block a user