调整
This commit is contained in:
parent
1e758b65aa
commit
5be0be8a8d
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user