From 86c8cfce395beba4ad5583cbac76e5b01782a4d0 Mon Sep 17 00:00:00 2001
From: 沈斌 <23420800@qq.com>
Date: Tue, 14 Feb 2017 19:48:28 +0800
Subject: [PATCH] IP使用固定服务器IP等
---
queue.js | 2 +-
config.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.js b/config.js
index a954ecb..9fb334b 100644
--- a/config.js
+++ b/config.js
@@ -6,7 +6,7 @@
HOST: "121.40.92.176",
PORT: 6789,
- URL: "mongodb://moral_user:m2o0r1a6l_passw0rd@127.0.0.1:27017/moral_db",
+ URL: "mongodb://moral_user:m2o0r1a6l_passw0rd@121.40.92.176:27017/moral_db",
COLLECTION: "documents",
ALARM_DEFAULTS: {
diff --git a/queue.js b/queue.js
index 040f745..3642351 100644
--- a/queue.js
+++ b/queue.js
@@ -10,7 +10,7 @@
this.pushToMQ('ex_data_dev1', {
data: data,
time: moment().format('YYYY-MM-DD HH:mm:ss')
- })
+ });
};
module.exports.pushToMQ = function(ex, data) {
--
Gitblit v1.8.0