Skip to content

Function: assertUrlAllowed()

assertUrlAllowed(url, allow): void

Throw when url is not permitted by the allow-list. No-op when the allow-list is unrestricted. The single enforcement point for the web_fetch path.

string

UrlAllowList

void