Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

disable x-powered-by even with csp disabled

Rigel Kent6c8c15f914cd
diff --git a/server.ts b/server.ts
index f2e589243a..8a762a9054 100644
--- a/server.ts
+++ b/server.ts
@@ -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'