fix(admin): 后台校验文件避免 301,并让搜索引擎读到 noindex

serve -s 会把 .html 301 去后缀,百度站长验证失败;同时放开 robots 抓取,避免旧标题一直留在 SERP。
This commit is contained in:
2026-09-01 09:11:43 +08:00
parent f35e1a3ba5
commit eeee55e215
12 changed files with 42 additions and 23 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = {
name: 'dukang-stg-admin-web',
cwd: `${APP_ROOT}/apps/admin-web`,
script: 'npx',
args: 'serve -s dist -l 8194',
args: 'serve dist -l 8194 -c serve.json',
interpreter: 'none',
instances: 1,
exec_mode: 'fork',