新版界面挂载:/next/ 提供 web/dist 构建,单页回退并限制在目录内

试用、演示模式默认开启,云端需设置 WEB_NEXT=1;其余地址行为不变。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
黄健铭andClaude Opus 5.5 committed 2026-12-04 18:36:57 -08:00
1 parent 33fedc2e68
commit 40bff0be94
5 files changed
+273 -2

No files matched your search

+2 -1
View File
@@ -21,7 +21,8 @@ const sharedScriptGlobals = Object.keys(browserScripts).map(file => ({
module.exports = [
{
ignores: ['node_modules/', 'e2e/node_modules/', 'e2e/out/', 'e2e/baseline/', 'data/', 'backups/'],
// web/ 是新版界面(TypeScript + React),有自己的 ESLint 配置与依赖。
ignores: ['node_modules/', 'e2e/node_modules/', 'e2e/out/', 'e2e/baseline/', 'data/', 'backups/', 'web/'],
},
js.configs.recommended,
{