refactor: login & refresh token

This commit is contained in:
naiba committed 2024-10-20 14:05:43 +08:00
1 parent eabe55a753
commit 71891b2d61
10 files changed
+137 -97

No files matched your search

+3
View File
@@ -117,6 +117,9 @@ func (c *Config) Read(path string) error {
return err
}
if c.ListenPort == 0 {
c.ListenPort = 8008
}
if c.Language == "" {
c.Language = "zh-CN"
}