We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dc6520 commit 78ac5fcCopy full SHA for 78ac5fc
1 file changed
src/main.go
@@ -19,6 +19,9 @@ func main() {
19
// Application params taken from OS environment
20
app.Log.SetLevel(logrus.Level(app.GetEnvInt("LOG_LEVEL", 2)))
21
bindAddress := app.GetEnvString("BIND_ADDR", "localhost")
22
+ if bindAddress == "*" {
23
+ bindAddress = ""
24
+ }
25
bindPort := app.GetEnvInt("BIND_PORT", 8080)
26
db.MaxRows = uint32(app.GetEnvInt("MAX_ROWS", 10000))
27
tlsCert := app.GetEnvString("TLS_CERT", "")
0 commit comments