feat: GraphQL base implementation

This commit is contained in:
NGPixel
2017-07-24 22:37:13 -04:00
parent d76f6182b2
commit 60750eeed8
8 changed files with 118 additions and 20 deletions

View File

@@ -1,7 +1,5 @@
'use strict'
/* global app */
/**
* Security Middleware
*
@@ -12,7 +10,7 @@
*/
module.exports = function (req, res, next) {
// -> Disable X-Powered-By
app.disable('x-powered-by')
req.app.disable('x-powered-by')
// -> Disable Frame Embedding
res.set('X-Frame-Options', 'deny')