|
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
|
|---|
| 4 | const options = {}
|
|---|
| 5 |
|
|---|
| 6 | if (process.env.DOTENV_CONFIG_ENCODING != null) {
|
|---|
| 7 | options.encoding = process.env.DOTENV_CONFIG_ENCODING
|
|---|
| 8 | }
|
|---|
| 9 |
|
|---|
| 10 | if (process.env.DOTENV_CONFIG_PATH != null) {
|
|---|
| 11 | options.path = process.env.DOTENV_CONFIG_PATH
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | if (process.env.DOTENV_CONFIG_DEBUG != null) {
|
|---|
| 15 | options.debug = process.env.DOTENV_CONFIG_DEBUG
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | module.exports = options
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.