mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
15 lines
267 B
Go
15 lines
267 B
Go
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 {
|
|
return registerRoutes()
|
|
}
|