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 ```shell
export CGO_ENABLED=0
go build -o iptables-helper main.go go build -o iptables-helper main.go
``` ```

View File

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