Commit 91697a5a authored by nanahira's avatar nanahira

fix

parent 95b5345c
Pipeline #207 passed with stages
in 1 minute and 24 seconds
...@@ -20,7 +20,7 @@ async function main() { ...@@ -20,7 +20,7 @@ async function main() {
} }
await fetcher.initProxies(); await fetcher.initProxies();
if (process.env.SERVER) { if (process.env.SERVER) {
await runServer(process.env.SERVER); await runServer(servers[parseInt(process.env.SERVER)]);
return; return;
} }
const userListWithServer = await Promise.all(servers.map(runServer)); const userListWithServer = await Promise.all(servers.map(runServer));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment