mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 08:25:07 +03:00
Refactor web UI server setup in main.go and update default host in config
This commit is contained in:
parent
345d5b9cbd
commit
51a1a0a3d7
9 changed files with 146 additions and 55 deletions
|
@ -96,7 +96,7 @@ func GenerateConfig() *NodeConfig {
|
|||
cfg.WebUI = WebUIConfig{
|
||||
Enable: false,
|
||||
Port: 9000,
|
||||
Host: "",
|
||||
Host: "127.0.0.1",
|
||||
}
|
||||
if err := cfg.postprocessConfig(); err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue