fix: allowIP not passed to configui
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
parent
9814f61015
commit
c027d486c1
|
@ -93,9 +93,17 @@ func main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cui.LogPath = flagLogFile
|
|
||||||
cui.ConfigPath = flagConfigPath
|
cui.ConfigPath = flagConfigPath
|
||||||
cui.NoReconfig = flagNoReconfig
|
|
||||||
|
if flagNoReconfig {
|
||||||
|
cui.NoReconfig = flagNoReconfig
|
||||||
|
}
|
||||||
|
if flagLogFile != "" {
|
||||||
|
cui.LogPath = flagLogFile
|
||||||
|
}
|
||||||
|
if flagAllow != "" {
|
||||||
|
cui.AllowIP = flagAllow
|
||||||
|
}
|
||||||
|
|
||||||
// setup routes
|
// setup routes
|
||||||
server := &http.Server{
|
server := &http.Server{
|
||||||
|
|
Loading…
Reference in New Issue