fix:修复make dev-app里面脚本问题

main
yy 2026-04-22 15:31:17 +08:00 committed by lyingbug
parent a121a5d636
commit 6accdc2a60
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ start_app() {
log_warning "提示: 安装 Air 可以实现代码修改后自动重启"
log_info "安装命令: go install github.com/air-verse/air@latest"
LDFLAGS="$(./scripts/get_version.sh ldflags) -X 'google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn'"
go run -ldflags="$LDFLAGS" ./cmd/server/
go run -ldflags="$LDFLAGS" ./cmd/server
fi
}