Update handling of api listen address override
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user