Added PROD env variable

This commit is contained in:
Andrew Gundersen 2022-05-18 10:15:18 -05:00
commit df191b657b

View file

@ -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`,