v2ray: disable goproxy by default
This commit is contained in:
parent
5974996c6b
commit
0939a82601
@ -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
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user