Default https

This commit is contained in:
CareyWong 2020-04-19 19:42:59 +08:00
parent 9a5c6c1f64
commit effc71cec0

View File

@ -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 == "" {