From 29f02304539e2a6c6260efc4df5088f6a6041edd Mon Sep 17 00:00:00 2001 From: renjue Date: Tue, 23 Jun 2026 16:18:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=BA=20go:embed=20=E4=BF=9D?= =?UTF-8?q?=E7=95=99=20web/dist=20=E5=8D=A0=E4=BD=8D=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BB=A5=E9=80=9A=E8=BF=87=20CI=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI 仅执行 go test 不会先构建前端;提交最小 index.html 占位,其余 dist 产物仍由 make web / Dockerfile 生成。 Co-authored-by: Cursor --- .gitignore | 4 +++- web/dist/index.html | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 web/dist/index.html diff --git a/.gitignore b/.gitignore index dc2c295..dd18f66 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,9 @@ release/ # Frontend build artifacts web/node_modules/ -web/dist/ +web/dist/* +!web/dist/ +!web/dist/index.html # IDE .idea/ diff --git a/web/dist/index.html b/web/dist/index.html new file mode 100644 index 0000000..5853487 --- /dev/null +++ b/web/dist/index.html @@ -0,0 +1,10 @@ + + + + + Wormhole + + +

Wormhole API running. Build web UI: make web

+ +