让脚本更安全

This commit is contained in:
ZtRXR 2023-08-30 16:03:32 +08:00
parent 50d0c797ef
commit 605fd531c1

View File

@ -10,7 +10,7 @@ npm i
npm run build npm run build
# 4. 切换到 ./.output 目录 # 4. 切换到 ./.output 目录
cd ./.output cd ./.output || exit
# 5. 执行 node ./server/index.mjs # 5. 执行 node ./server/index.mjs
node ./server/index.mjs node ./server/index.mjs