Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit bdae864

Browse files
using helmet
1 parent 3fb422f commit bdae864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22
const favicon = require('serve-favicon');
33
const compress = require('compression');
44
const cors = require('cors');
5-
// const helmet = require('helmet');
5+
const helmet = require('helmet');
66
const bodyParser = require('body-parser');
77

88
const feathers = require('feathers');
@@ -43,7 +43,7 @@ if (app.get('sentry') && app.get('sentry').dns !== undefined && app.get('sentry'
4343

4444
// Enable CORS, security, compression, favicon and body parsing
4545
app.use(cors());
46-
// app.use(helmet());
46+
app.use(helmet());
4747
app.use(compress());
4848
app.use(bodyParser.json());
4949
app.use(bodyParser.urlencoded({ extended: true }));

0 commit comments

Comments
 (0)