mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-02-19 03:55:38 +08:00
实现IP黑白名单、国家|地区封禁、省份封禁
This commit is contained in:
@@ -38,6 +38,7 @@ function build() {
|
||||
cp $ROOT/configs/api.template.yaml $DIST/configs
|
||||
cp -R $ROOT/www $DIST/
|
||||
cp -R $ROOT/pages $DIST/
|
||||
cp -R $ROOT/resources $DIST/
|
||||
|
||||
echo "building ..."
|
||||
env GOOS=${OS} GOARCH=${ARCH} go build -o $DIST/bin/${NAME} -ldflags="-s -w" $ROOT/../cmd/edge-node/main.go
|
||||
|
||||
Reference in New Issue
Block a user