mirror of
https://github.com/safing/portmaster
synced 2025-09-04 19:49:15 +00:00
Set new API port
This commit is contained in:
parent
67578f9e4d
commit
a316542f82
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/Safing/portbase/api"
|
||||||
"github.com/Safing/portbase/modules"
|
"github.com/Safing/portbase/modules"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,5 +10,6 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func prep() error {
|
func prep() error {
|
||||||
|
api.SetDefaultAPIListenAddress("127.0.0.1:817")
|
||||||
return registerRoutes()
|
return registerRoutes()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue