From effc71cec0fb5af92b67f2f40053ba4e8a257827 Mon Sep 17 00:00:00 2001 From: CareyWong Date: Sun, 19 Apr 2020 19:42:59 +0800 Subject: [PATCH] Default https --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b3b353f..c0513fd 100644 --- a/main.go +++ b/main.go @@ -49,7 +49,7 @@ func main() { ttl := flag.Int("ttl", defaultExpire, "短链接有效期,单位(天),默认90天。") conn := flag.String("conn", defaultRedisConfig, "Redis连接,格式: host:port") passwd := flag.String("passwd", "", "Redis连接密码") - https := flag.Int("https", 0, "是否返回 https 短链接") + https := flag.Int("https", 1, "是否返回 https 短链接") flag.Parse() if *domain == "" {