Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
605fc023
Verified
Commit
605fc023
authored
Oct 03, 2017
by
Thibaut Broggi
Browse files
Remove useless "X-Powered-By" header
parent
78b7d070
Changes
1
Hide whitespace changes
Inline
Side-by-side
srv.js
View file @
605fc023
...
...
@@ -4,6 +4,8 @@ const express = require('express');
const
app
=
express
();
const
config
=
require
(
'
./config.json
'
);
app
.
set
(
'
x-powered-by
'
,
false
);
app
.
get
(
'
/generate
'
,
function
(
req
,
res
)
{
res
.
send
(
'
Hello World!
'
);
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment