UrlPolicyOptions
Defined in: src/validation.ts:113
Options that relax/extend the endpoint URL policy.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
allowInsecureUrls? |
boolean |
Allow http: for non-localhost hosts (dev only; default false). |
src/validation.ts:115 |
urlPolicy? |
(url) => boolean |
Extra host-supplied gate; return false to reject (e.g. an SSRF denylist). |
src/validation.ts:117 |