Update:Remove X-Powered-By express response headers

This commit is contained in:
advplyr 2023-02-01 14:34:01 -06:00
parent ea60f19e7a
commit 5bde320ac7
3 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,7 @@ class ApiRouter {
this.musicFinder = new MusicFinder() this.musicFinder = new MusicFinder()
this.router = express() this.router = express()
this.router.disable('x-powered-by')
this.init() this.init()
} }

View File

@ -14,6 +14,7 @@ class HlsRouter {
this.playbackSessionManager = playbackSessionManager this.playbackSessionManager = playbackSessionManager
this.router = express() this.router = express()
this.router.disable('x-powered-by')
this.init() this.init()
} }

View File

@ -8,6 +8,7 @@ class StaticRouter {
this.db = db this.db = db
this.router = express() this.router = express()
this.router.disable('x-powered-by')
this.init() this.init()
} }