1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2025-01-08 09:20:11 +00:00

Compare commits

..

No commits in common. "6551eeb93892a3fb2cc3a408e3196d58ae9a82b2" and "6b4d4da4550a611765bad8c8e518a218a309ff13" have entirely different histories.

12
main.go
View File

@ -519,17 +519,7 @@ func start(asDaemon, firstCall bool) {
}
} else {
debugMode = false
if *PORT != app.port && *PORT > 0 {
app.port = *PORT
} else {
app.port = 8056
}
if *HOST != app.host && *HOST != "" {
app.host = *HOST
} else {
app.host = "0.0.0.0"
}
address = fmt.Sprintf("%s:%d", app.host, app.port)
address = "0.0.0.0:8056"
app.storage.lang.SetupPath = "setup"
err := app.storage.loadLangSetup(langFS)
if err != nil {