Fix bind setting
The bind setting from the yaml file was not read. This commit fixes this issue.
This commit is contained in:
parent
83047ef417
commit
7e56a15352
|
@ -16,7 +16,7 @@ type Config struct {
|
|||
}
|
||||
|
||||
type ConfigSettings struct {
|
||||
BindAddress string // Bind address for the webserver
|
||||
BindAddress string `yaml:"bind"` // Bind address for the webserver
|
||||
}
|
||||
|
||||
type Hook struct {
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
## Weblug example config
|
||||
|
||||
settings:
|
||||
bind: ":2088" # bind address for webserver
|
||||
bind: "127.0.0.1:2088" # bind address for webserver
|
||||
#bind: ":2088" # bind to all addresses
|
||||
|
||||
# hook definition. A hook needs to define the HTTP endpoint ("route") and the
|
||||
# command that will be executed, once this route is executed
|
||||
|
|
Loading…
Reference in a new issue