mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 08:40:20 +00:00
set c.Language to zh_CN if not specified
This commit is contained in:
1 parent
ca997cc994
commit
d7012e36bf
1 file changed
+3
@@ -62,6 +62,9 @@ func (c *Config) Read(path string) error {
|
||||
if c.ListenPort == 0 {
|
||||
c.ListenPort = 8008
|
||||
}
|
||||
if c.Language == "" {
|
||||
c.Language = "zh_CN"
|
||||
}
|
||||
if c.Location == "" {
|
||||
c.Location = "Asia/Shanghai"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user