Browse Source

Removed some debugging and changed local frontend port.

KrisVos130 8 years ago
parent
commit
4d8e421fca
2 changed files with 1 additions and 4 deletions
  1. 1 1
      backend/index.js
  2. 0 3
      backend/logic/cache/index.js

+ 1 - 1
backend/index.js

@@ -79,7 +79,7 @@ async.waterfall([
 		if (!config.get("isDocker")) {
 			const express = require('express');
 			const app = express();
-			const server = app.listen(8080);
+			const server = app.listen(80);
 			app.use(express.static(__dirname + "/../frontend/build/"));
 		}
 		next();

+ 0 - 3
backend/logic/cache/index.js

@@ -138,9 +138,6 @@ const lib = {
 	sub: (channel, cb, parseJson = true) => {
 		if (subs[channel] === undefined) {
 			subs[channel] = { client: redis.createClient({ url: lib.url }), cbs: [] };
-			setInterval(() => {
-				console.log(channel, subs[channel].client.connected, lib.url);
-			}, 2000);
 			subs[channel].client.on('error', (err) => console.error);
 			subs[channel].client.on('message', (channel, message) => {
 				console.log("MESSAGE", channel, message);