updated comments

main
alex 2023-11-13 18:52:35 +01:00
parent 26df9cc61d
commit 79a7bf174d
1 changed files with 2 additions and 2 deletions

View File

@ -42,11 +42,11 @@ func LoadConfig() {
DaysToKeepLogs: daysToKeepLogs,
}
// load default values if not in docker
// load from env file
if os.Getenv("DOCKER") == "" {
config.Host = os.Getenv("HOST")
config.Port = os.Getenv("PORT")
} else { // load from docker env
} else { // load from system env
config.Host = "0.0.0.0"
config.Port = "80"
}