Added internationalize, and fixed some small bugs.

This commit is contained in:
Hintay 2022-02-20 18:56:27 +08:00
parent 22da4ba879
commit 64f7de47dc
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D
32 changed files with 1181 additions and 553 deletions

View file

@ -33,9 +33,9 @@ func main() {
log.Printf("nginx config dir path: %s", tool2.GetNginxConfPath(""))
if "" != settings.ServerSettings.JwtSecret {
model.Init()
frontend.InitTranslations()
go tool2.AutoCert()
}
frontend.InitTranslations()
srv := &http.Server{
Addr: ":" + settings.ServerSettings.HttpPort,