refactor: 备案号改为环境变量配置

ICP 和公安备案号通过 NUXT_PUBLIC_ICP / NUXT_PUBLIC_PS_BEIAN 环境变量读取,
空值时底部不显示。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-29 23:22:04 +08:00
parent 3b1677d08a
commit d7b7fc0398
3 changed files with 22 additions and 9 deletions
+3 -3
View File
@@ -1,3 +1,3 @@
# 站点配置(可选,config/site.ts 中已有默认值
NUXT_PUBLIC_SITE_URL=https://2x.nz
NUXT_PUBLIC_SITE_NAME=《二叉树树》官方网站
# 备案号(必填,否则底部不显示
NUXT_PUBLIC_ICP=蜀ICP备XXXXXXXXXX号
NUXT_PUBLIC_PS_BEIAN=51015602001952