Skip to content
Snippets Groups Projects
Commit da33ef69 authored by esikkala's avatar esikkala
Browse files

Remove 'x-powered-by' header

parent 56b99442
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ createBackendSearchConfig().then(backendSearchConfig => {
const app = express()
app.set('port', process.env.PORT || DEFAULT_PORT)
app.use(bodyParser.json())
app.disable('x-powered-by')
// NODE_ENV is defined in package.json when running in localhost
const isDevelopment = process.env.NODE_ENV === 'development'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment