Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(plugins): describe allowConfigHosts as an https origin grant
Yudhi Armyndharis3239fbf45f9f
diff --git a/src/core/plugins/plugin.interfaces.ts b/src/core/plugins/plugin.interfaces.tsindex 35fc49c49..407e10be5 100644--- a/src/core/plugins/plugin.interfaces.ts+++ b/src/core/plugins/plugin.interfaces.ts@@ -90,8 +90,9 @@ export interface PluginManifest {// Outbound-HTTP host allowlist for `ctx.net.fetch` (requires the `net:fetch` permission). Each// entry is `host:port` (exact) or a bare `host` (any port); `'*'` allows any public host. Absent /- // empty = deny all. `allowConfigHosts` additionally admits the host of each named config key (e.g. an- // operator-set base URL), resolved at fetch time. The SSRF guard still blocks internal IPs regardless.+ // empty = deny all. `allowConfigHosts` additionally admits the https origin (host and port) of each+ // named config key (e.g. an operator-set base URL), resolved at fetch time. The SSRF guard still+ // blocks internal IPs regardless.net?: { allow?: string[]; allowConfigHosts?: string[] };// Localized dashboard text (name/description/config field titles) per locale code. English is the