v2ray: disable goproxy by default

This commit is contained in:
CN_SZTL 2020-10-17 20:20:49 +08:00
parent 5974996c6b
commit 0939a82601
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
4 changed files with 8 additions and 5 deletions

View File

@ -35,13 +35,14 @@ include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
define Package/$(PKG_NAME)/config
config $(PKG_NAME)_INCLUDE_GOPROXY
bool "Compiling with GOPROXY proxy"
default y
default n
endef
ifeq ($(CONFIG_$(PKG_NAME)_INCLUDE_GOPROXY),y)
export GO111MODULE=on
export GOPROXY=https://goproxy.io
export GOPROXY=https://goproxy.cn
#export GOPROXY=https://goproxy.io
#export GOPROXY=https://mirrors.aliyun.com/goproxy/
endif

View File

@ -3,7 +3,7 @@ menu "V2Ray Configuration"
config V2RAY_COMPRESS_GOPROXY
bool "Compiling with GOPROXY proxy"
default y
default n
choice
prompt "JSON Config Support"

View File

@ -88,7 +88,8 @@ endef
ifeq ($(CONFIG_V2RAY_COMPRESS_GOPROXY),y)
export GO111MODULE=on
export GOPROXY=https://goproxy.io
export GOPROXY=https://goproxy.cn
#export GOPROXY=https://goproxy.io
#export GOPROXY=https://mirrors.aliyun.com/goproxy/
endif

View File

@ -60,7 +60,8 @@ endef
ifeq ($(CONFIG_TROJAN_GO_COMPRESS_GOPROXY),y)
export GO111MODULE=on
export GOPROXY=https://goproxy.io
GOPROXY=https://goproxy.cn
#export GOPROXY=https://goproxy.io
#export GOPROXY=https://mirrors.aliyun.com/goproxy/
endif