From e3430d9cf3977fb1cd274da132670be26beb7b59 Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Fri, 3 Apr 2026 02:23:41 -0400 Subject: [PATCH] fix: remove DDNS_ALLOWED_HOSTNAMES description from package.json and add it to wrangler.jsonc Signed-off-by: Okiki Ojo --- package.json | 3 --- wrangler.jsonc | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 4b0306d..13bf27e 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,6 @@ "DDNS_SHARED_SECRET": { "description": "Long random password used by Synology or other clients to authenticate update requests. Use at least 32 random characters." }, - "DDNS_ALLOWED_HOSTNAMES": { - "description": "Comma-separated allowlist of DNS names this worker may update, for example `nas.example.com,*.nas.example.com`." - }, "DDNS_PROXIED": { "description": "Set to false for most NAS setups. Use true only if you want the updated records proxied through Cloudflare." }, diff --git a/wrangler.jsonc b/wrangler.jsonc index 1e103fe..38fb7eb 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -33,6 +33,7 @@ ] }, "vars": { + "DDNS_ALLOWED_HOSTNAMES": "nas.example.com,*.nas.example.com", "DDNS_PROXIED": "false", "DDNS_TTL": "1", "DDNS_LOG_RETENTION_DAYS": "30", -- 2.51.2