mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 13:43:06 -04:00
change default deployment location
This commit is contained in:
parent
eac3ebad48
commit
e653c74903
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -7,7 +7,7 @@ const time = Date.now();
|
||||||
const token = process.env.token;
|
const token = process.env.token;
|
||||||
|
|
||||||
// Get the correct path for each environment type
|
// Get the correct path for each environment type
|
||||||
let client = `../${__dirname}/labscore/client.js`
|
let client = `./labscore/labscore/client.js`;
|
||||||
if(process.env.environment == "local") client = `./labscore/client.js`
|
if(process.env.environment == "local") client = `./labscore/client.js`
|
||||||
if(["production","prod","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`;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue