source: frontend/node_modules/dotenv/lib/env-options.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 422 bytes
Line 
1/* @flow */
2
3// ../config.js accepts options via environment variables
4const options = {}
5
6if (process.env.DOTENV_CONFIG_ENCODING != null) {
7 options.encoding = process.env.DOTENV_CONFIG_ENCODING
8}
9
10if (process.env.DOTENV_CONFIG_PATH != null) {
11 options.path = process.env.DOTENV_CONFIG_PATH
12}
13
14if (process.env.DOTENV_CONFIG_DEBUG != null) {
15 options.debug = process.env.DOTENV_CONFIG_DEBUG
16}
17
18module.exports = options
Note: See TracBrowser for help on using the repository browser.