Update handling of api listen address override

This commit is contained in:
Daniel
2019-08-02 16:09:13 +02:00
parent edebfbd687
commit d01c619400
3 changed files with 4 additions and 4 deletions

View File

@@ -1,13 +1,11 @@
package ui
import (
"github.com/safing/portbase/api"
"github.com/safing/portbase/modules"
)
func init() {
modules.Register("ui", prep, nil, nil, "updates", "api")
api.SetDefaultAPIListenAddress("127.0.0.1:817")
}
func prep() error {