服务端定稿,撰写安装手册

This commit is contained in:
2023-12-15 13:08:33 +00:00
parent 92ad4ed42e
commit 8200e57938
3 changed files with 32 additions and 2 deletions

View File

@ -9,7 +9,7 @@ const io = new Server(server);
const message_map=new Map();
const { spawn } = require('child_process');
const backend=spawn('/workspaces/BH-Bookstore-2023/build/code',['-s','-c','/tmp/conf/']);
const backend=spawn(join(__dirname, '../../build/code'),['-s','-c',process.argv.slice(2)[0]]);
const AsyncLock = require('async-lock');
const lock = new AsyncLock();