feat: complete M7 cutover preparation

This commit is contained in:
2026-04-22 17:46:50 +08:00
parent 4c8ba535e4
commit 2fe0a9083d
19 changed files with 8258 additions and 7809 deletions

View File

@@ -17,9 +17,16 @@ export default defineConfig(({mode}) => {
'**/public/generated-custom-world-scenes/**',
'**/public/generated-qwen-sprites/**',
];
const runtimeServerTarget =
const backendStack = (env.GENARRATIVE_BACKEND_STACK || 'node').trim().toLowerCase();
const nodeServerTarget =
env.NODE_SERVER_TARGET ||
'http://127.0.0.1:8081';
const rustServerTarget =
env.RUST_SERVER_TARGET ||
'http://127.0.0.1:3000';
const runtimeServerTarget =
env.GENARRATIVE_RUNTIME_SERVER_TARGET ||
(backendStack === 'rust' ? rustServerTarget : nodeServerTarget);
return {
root: __dirname,