rename mode.domain-> mode.domains

This commit is contained in:
deepzz0
2017-07-08 16:29:47 +08:00
parent 3923bc70f1
commit da7b726e8d
13 changed files with 63 additions and 44 deletions

View File

@@ -9,8 +9,8 @@ import (
)
const (
DEV = "dev"
PROD = "prod"
DEV = "dev" // 该模式会输出 debug 等信息
PROD = "prod" // 该模式用于生产环境
)
var (
@@ -63,7 +63,8 @@ type Config struct {
HttpsPort int
CertFile string
KeyFile string
Domain string
AutoCert bool
Domains []string
}
Twitter struct { // twitter信息
Card string