mirror of
https://github.com/hrfee/jfa-go.git
synced 2025-01-09 01:40:11 +00:00
Compare commits
No commits in common. "6551eeb93892a3fb2cc3a408e3196d58ae9a82b2" and "6b4d4da4550a611765bad8c8e518a218a309ff13" have entirely different histories.
6551eeb938
...
6b4d4da455
12
main.go
12
main.go
@ -519,17 +519,7 @@ func start(asDaemon, firstCall bool) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
debugMode = false
|
debugMode = false
|
||||||
if *PORT != app.port && *PORT > 0 {
|
address = "0.0.0.0:8056"
|
||||||
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)
|
|
||||||
app.storage.lang.SetupPath = "setup"
|
app.storage.lang.SetupPath = "setup"
|
||||||
err := app.storage.loadLangSetup(langFS)
|
err := app.storage.loadLangSetup(langFS)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user