mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 05:23:17 +08:00
fixed build process
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user