mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-17 02:01:23 +02:00
Update:Remove X-Powered-By express response headers
This commit is contained in:
@@ -60,6 +60,7 @@ class ApiRouter {
|
||||
this.musicFinder = new MusicFinder()
|
||||
|
||||
this.router = express()
|
||||
this.router.disable('x-powered-by')
|
||||
this.init()
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ class HlsRouter {
|
||||
this.playbackSessionManager = playbackSessionManager
|
||||
|
||||
this.router = express()
|
||||
this.router.disable('x-powered-by')
|
||||
this.init()
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ class StaticRouter {
|
||||
this.db = db
|
||||
|
||||
this.router = express()
|
||||
this.router.disable('x-powered-by')
|
||||
this.init()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user