This commit is contained in:
zxb 2023-11-03 13:10:15 +08:00
parent 1e758b65aa
commit 5be0be8a8d
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ swag init -d ./ -g ./main.go -pd
编译
```shell
export CGO_ENABLED=0
go build -o iptables-helper main.go
```

View File

@ -20,7 +20,7 @@ type ServerConfig struct {
func DefaultConfig() *Conf {
return &Conf{
Server: &ServerConfig{
Addr: ":6573",
Addr: ":6575",
PreFork: true,
CaseSensitive: true,
StrictRouting: false,