diff --git a/Makefile b/Makefile index de0ce66..1256725 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ DB_NAME := account DB_USER := shenlan DB_PASS := password DB_HOST := 127.0.0.1 -DB_PORT := 5432 +DB_PORT := 15432 DB_URL := postgres://$(DB_USER):$(DB_PASS)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?sslmode=disable REPLICATION_MODE ?= pgsync diff --git a/scripts/init-go.sh b/scripts/init-go.sh index 14a8527..178155f 100755 --- a/scripts/init-go.sh +++ b/scripts/init-go.sh @@ -23,10 +23,6 @@ if ! command -v go >/dev/null; then fi echo ">>> 配置 Go Proxy" -if curl -fsSL --max-time 5 https://goproxy.cn >/dev/null; then - go env -w GOPROXY=https://goproxy.cn,direct -else - go env -w GOPROXY=https://proxy.golang.org,direct -fi +go env -w GOPROXY=https://proxy.golang.org,direct go mod tidy