Skip to content

Commit

Permalink
Staging (#277)
Browse files Browse the repository at this point in the history
* increase poolSize for mongoclient

* mongodb conn string

* remove certs

* Encryption (#272)

* Import Data

* Import Data

* Import Data

* Import API Update

* Import API Fix

* Update

* Updates Import API

* Updates Import API

* Updates Import API

* Import API Update

* Update

* Import API Update

* Import API Update

* chaging rolling update to api

* Import API Fix

* Import API Fix

* Import API Test

* Import API Test

* Import API Fix

* Update README.md

* Import Export API

* Import Export API (#262)

* Import Export API

* Import API

* Import Export API (#263)

* Import Export API

* Import Export API

* Import API

* fixed realTime for multiple tables on a single client

* added cache-control for app-icon images (#269)

* Update README.md

* added cache-control for app-icon images

* Encryption

* Encryption

* Encryption

* Resolve

* Encryption Changes

* Encryption Changes

* use legacy node

* enable both http and https at same time
  • Loading branch information
shubhamqweasd authored Dec 6, 2017
1 parent 69d8ab3 commit f2d0fa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# CloudBoost Dockerfile
#
# Pull base image nodejs image.
FROM node:8.2.1
FROM node:6.12.0

#Maintainer.
MAINTAINER Nawaz Dhandala <[email protected]>
Expand Down
6 changes: 3 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ http = require('http').createServer(global.app);
require('./database-connect/cors.js')(); //cors!
var io = require('socket.io')();

// attach io to https only if running in hosted env and certs are found
io.attach(http);
// attach io to https, only if running in hosted env and certs are found
if (https && CLOUDBOOST_HOSTED) {
io.attach(https);
} else {
io.attach(http);
}


var Redis = require('ioredis');

var ioRedisAdapter = require('socket.io-redis');
Expand Down

0 comments on commit f2d0fa7

Please sign in to comment.