Skip to content

Commit

Permalink
Try force-ssl-heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
GameKyuubi committed Sep 27, 2017
1 parent 646ab63 commit ddb88f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -25,6 +25,7 @@
"debug": "~2.6.3",
"dotenv": "^4.0.0",
"express": "~4.15.2",
"force-ssl-heroku": "^1.0.2",
"isomorphic-fetch": "^2.2.1",
"jsonwebtoken": "^8.0.1",
"knex": "^0.13.0",
Expand Down
2 changes: 2 additions & 0 deletions server/app.js
Expand Up @@ -8,7 +8,9 @@ const app = express();
const events = require('./routes/events');
const charge = require('./routes/charge');
const auth = require('./routes/auth');
const forceSsl = require('force-ssl-heroku');

app.use(forceSsl);
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -2957,6 +2957,10 @@ for-own@^0.1.4:
dependencies:
for-in "^1.0.1"

force-ssl-heroku@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/force-ssl-heroku/-/force-ssl-heroku-1.0.2.tgz#52850323066ba789dc330feccd7817c7cebb2680"

foreach@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99"
Expand Down

0 comments on commit ddb88f9

Please sign in to comment.