mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +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
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/api"
|
||||
"github.com/Safing/portbase/modules"
|
||||
)
|
||||
|
||||
|
@ -9,5 +10,6 @@ func init() {
|
|||
}
|
||||
|
||||
func prep() error {
|
||||
api.SetDefaultAPIListenAddress("127.0.0.1:817")
|
||||
return registerRoutes()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue