mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
Clean up analytic code, update Simplified Chinese translations.
This commit is contained in:
parent
46e86d2a3d
commit
42417e806d
17 changed files with 638 additions and 286 deletions
3
main.go
3
main.go
|
@ -3,6 +3,7 @@ package main
|
|||
import (
|
||||
"context"
|
||||
"flag"
|
||||
"github.com/0xJacky/Nginx-UI/server/analytic"
|
||||
"github.com/0xJacky/Nginx-UI/server/model"
|
||||
"github.com/0xJacky/Nginx-UI/server/router"
|
||||
"github.com/0xJacky/Nginx-UI/server/settings"
|
||||
|
@ -36,7 +37,7 @@ func main() {
|
|||
if "" != settings.ServerSettings.JwtSecret {
|
||||
model.Init()
|
||||
go tool.AutoCert()
|
||||
go tool.RecordServerAnalytic()
|
||||
go analytic.RecordServerAnalytic()
|
||||
}
|
||||
|
||||
srv := &http.Server{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue