mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
set c.Language to zh_CN if not specified
This commit is contained in:
1 parent
96bec45855
commit
48512087b1
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