From b58ac516550a213f6e59508a7ce2948c920dcfe9 Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Thu, 8 Dec 2022 19:23:44 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E4=BC=98=E5=8C=96=20ddns=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- global/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/global/config.go b/global/config.go index cb121b6..c6464ed 100644 --- a/global/config.go +++ b/global/config.go @@ -41,6 +41,8 @@ func readConfig() { }, DDNS: map[string]interface{}{ "enable": false, + "domain": "www.example.com", + "ttl": 600, "provider": "", }, })