Added PROD env variable
This commit is contained in:
parent
7b4eac06df
commit
df191b657b
1 changed files with 2 additions and 2 deletions
|
|
@ -2,8 +2,8 @@ const { app } = require("electron");
|
|||
|
||||
const DOMAIN = "crimata.com";
|
||||
|
||||
const prod = !process.defaultApp;
|
||||
// const prod = true;
|
||||
/* If PROD env variable exists */
|
||||
const prod = process.env.PROD;
|
||||
|
||||
module.exports = {
|
||||
PLATFORM: prod ? `https://app.${DOMAIN}` : `http://localhost:8760`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue