chore: fix phony init-db and go proxy

This commit is contained in:
Haitao Pan 2026-01-24 22:42:40 +08:00
parent 15856ec359
commit 1b4b974e03
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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