This commit is contained in:
2026-01-17 16:50:29 +08:00
parent e1b86aa809
commit 2cb12644ea
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ export class AssistantInit extends AssistantConfig {
"scripts": {
"start": "pm2 start apps/code-center/dist/app.mjs --name code-center",
"proxy": "pm2 start apps/page-proxy/dist/app.mjs --name page-proxy",
"preview": "ASSISTANT_CONFIG_DIR=/workspace asst server -s -p 8686"
"preview": "pnpm i && ASSISTANT_CONFIG_DIR=/workspace asst server -s -p 8686"
},
"keywords": [],
"author": "",

View File

@@ -6,7 +6,7 @@
"scripts": {
"start": "pm2 start apps/code-center/dist/app.mjs --name code-center",
"proxy": "pm2 start apps/page-proxy/dist/app.mjs --name page-proxy",
"preview": "ASSISTANT_CONFIG_DIR=/workspace asst server -s -p 8686"
"preview": "pnpm i && ASSISTANT_CONFIG_DIR=/workspace asst server -s -p 8686"
},
"keywords": [],
"author": "",