disable x-powered-by even with csp disabled
follows Express and helmet recommendations
This commit is contained in:
parent
f2eb23cd87
commit
6c8c15f914
|
@ -20,7 +20,7 @@ import * as cli from 'commander'
|
|||
process.title = 'peertube'
|
||||
|
||||
// Create our main app
|
||||
const app = express()
|
||||
const app = express().disable("x-powered-by")
|
||||
|
||||
// ----------- Core checker -----------
|
||||
import { checkMissedConfig, checkFFmpeg, checkNodeVersion } from './server/initializers/checker-before-init'
|
||||
|
|
Loading…
Reference in New Issue