fix: 为 go:embed 保留 web/dist 占位文件以通过 CI 测试
CI / docker (push) Has been cancelled

CI 仅执行 go test 不会先构建前端;提交最小 index.html 占位,其余 dist 产物仍由 make web / Dockerfile 生成。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
renjue
2026-06-23 16:18:56 +08:00
parent 4a25b16d74
commit 29f0230453
2 changed files with 13 additions and 1 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ release/
# Frontend build artifacts
web/node_modules/
web/dist/
web/dist/*
!web/dist/
!web/dist/index.html
# IDE
.idea/
+10
View File
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>Wormhole</title>
</head>
<body>
<p>Wormhole API running. Build web UI: <code>make web</code></p>
</body>
</html>