mirror of
https://github.com/mjrode/WhatToWatch.git
synced 2026-05-12 23:48:20 -05:00
20 lines
442 B
JavaScript
20 lines
442 B
JavaScript
/* eslint-disable no-undef */
|
|
require('custom-env').env();
|
|
require('dotenv').config();
|
|
const _ = require('lodash');
|
|
|
|
const env = process.env.NODE_ENV || 'local';
|
|
|
|
const envConfig = require(`./${env}`).default;
|
|
const plexConfig = require('./plex').default;
|
|
const tdawConfig = require('./tdaw').default;
|
|
|
|
const defaultConfig = {
|
|
env,
|
|
};
|
|
export default {
|
|
server: _.merge(defaultConfig, envConfig),
|
|
plex: plexConfig,
|
|
tdaw: tdawConfig,
|
|
};
|