mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 13:43:06 -04:00
grug
This commit is contained in:
parent
b9248e6aad
commit
eac3ebad48
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -9,7 +9,7 @@ const token = process.env.token;
|
|||
// Get the correct path for each environment type
|
||||
let client = `../${__dirname}/labscore/client.js`
|
||||
if(process.env.environment == "local") client = `./labscore/client.js`
|
||||
if(["production","prodnew"].includes(process.env.environment.toLowerCase())) client = `./labscore/labscore/client.js`;
|
||||
if(["production","prod","prodnew"].includes(process.env.environment.toLowerCase())) 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