Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[DEV] Patch 1.5.3.1 #144

Merged
merged 7 commits into from
Apr 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: use "prod" by default
  • Loading branch information
maxceem committed Feb 25, 2021
commit f98b0367237fd48d60fe4657ccd7593313dae4c7
4 changes: 2 additions & 2 deletions config/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* global process */

module.exports = (() => {
const env = process.env.APPENV || "dev";
const env = process.env.APPENV || "prod";

console.info(`APPENV: "${env}"`);
console.log(`APPENV: "${env}"`);

// for security reason don't let to require any arbitrary file defined in process.env
if (["prod", "dev"].indexOf(env) < 0) {
Expand Down