fixed build process

This commit is contained in:
Wyatt Johnson
2017-05-15 13:35:51 -06:00
parent 8ff0c3db51
commit 5aca83993b
2 changed files with 2 additions and 9 deletions
-6
View File
@@ -47,12 +47,6 @@ const CONFIG = {
MONGO_URL: process.env.TALK_MONGO_URL,
REDIS_URL: process.env.TALK_REDIS_URL,
//------------------------------------------------------------------------------
// Plugins
//------------------------------------------------------------------------------
PLUGINS_JSON: process.env.TALK_PLUGINS_JSON,
//------------------------------------------------------------------------------
// Server Config
//------------------------------------------------------------------------------
+2 -3
View File
@@ -4,9 +4,8 @@ const resolve = require('resolve');
const debug = require('debug')('talk:plugins');
const Joi = require('joi');
const amp = require('app-module-path');
const {
PLUGINS_JSON
} = require('./config');
const PLUGINS_JSON = process.env.TALK_PLUGINS_JSON;
// Add the current path to the module root.
amp.addPath(__dirname);