chore: Update configs and build files

- .gitignore 更新
- Caddyfile LB 配置更新
- WeChat MP 菜单脚本更新
- package-lock.json 更新
This commit is contained in:
john
2026-06-27 08:25:11 +08:00
parent 1798c07d42
commit a2374c3cd6
4 changed files with 179 additions and 2 deletions
+10 -2
View File
@@ -1,4 +1,12 @@
#!/usr/bin/env node
/**
* 微信服务号自定义菜单(menu/create)。
*
* 变更规范:
* - 只在本仓库修改 MENU 常量,禁止 SSH 到 105 直接改线上脚本。
* - 流程:本地改码 → Git commit → 正式发布 → 再执行本脚本同步到微信 API。
* - 详见 docs/105-server-operations.md
*/
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { loadH5Environment } from './load-env.mjs';
@@ -14,7 +22,7 @@ const MENU = {
button: [
{
type: 'view',
name: 'MeMind',
name: 'TKMind',
url: 'https://m.tkmind.cn',
},
{
@@ -24,7 +32,7 @@ const MENU = {
},
{
type: 'view',
name: 'M广场',
name: 'M发现',
url: 'https://plaza.tkmind.cn',
},
],