From cdfad3f2247bb2a2d32cf7862376efeb8ddabd30 Mon Sep 17 00:00:00 2001 From: qaq Date: Sun, 17 Aug 2025 21:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=8F=E8=AE=AE=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-build.yml | 2 +- go-gost/main.go | 2 +- vite-frontend/src/config/site.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index f757005..3439ced 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -60,7 +60,7 @@ jobs: if: steps.gost-changes.outputs.gost == 'true' working-directory: ./go-gost run: | - GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o gost + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o gost - name: Compress with UPX if: steps.gost-changes.outputs.gost == 'true' diff --git a/go-gost/main.go b/go-gost/main.go index 4a59ed0..8806468 100644 --- a/go-gost/main.go +++ b/go-gost/main.go @@ -136,7 +136,7 @@ func main() { log := xlogger.NewLogger() logger.SetDefault(log) - wsReporter := socket.StartWebSocketReporterWithConfig(config.Addr, config.Secret, "1.1.1") + wsReporter := socket.StartWebSocketReporterWithConfig(config.Addr, config.Secret, "1.2.0") defer wsReporter.Stop() service.SetHTTPReportURL(config.Addr, config.Secret) diff --git a/vite-frontend/src/config/site.ts b/vite-frontend/src/config/site.ts index 36eeeed..f3527d3 100644 --- a/vite-frontend/src/config/site.ts +++ b/vite-frontend/src/config/site.ts @@ -4,7 +4,7 @@ export type SiteConfig = typeof siteConfig; // 缓存相关常量 const CACHE_PREFIX = 'vite_config_'; -const VERSION = "1.2.9"; +const VERSION = "1.2.10"; const getInitialConfig = () => {