mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
Merge branch 'main' of https://gitlab.com/bignutty/labscore into main
This commit is contained in:
commit
c8aeeac34e
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -6,7 +6,8 @@ const time = Date.now();
|
|||
const token = process.env.token;
|
||||
|
||||
let client = `../${__dirname}/labscore/client.js`
|
||||
if(process.env.environment == "local") client = `./labscore/client.js`
|
||||
if(process.env.environment == "local") client = `${__dirname}/labscore/client.js`
|
||||
if(process.env.environment == "prodnew") client = `./labscore/labscore/client.js`
|
||||
|
||||
const SHARDS = process.env.SHARDS || 2;
|
||||
const SHARDS_PER_CLUSTER = process.env.SHARDS_PER_CLUSTER_OVERRIDE || 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue