mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Reduce Fingerprinting
As DieselTech#6997 pointed out in Matrix, it is a good idea to reduce fingerprinting by removing the `X-Powered-By` response header as pointed out by the Express security best practices: See http://expressjs.com/en/advanced/best-practice-security.html#reduce-fingerprinting
This commit is contained in:
parent
024d052a7b
commit
a1b49f5fcf
@ -142,6 +142,7 @@ class Server {
|
||||
const app = express()
|
||||
const router = express.Router()
|
||||
app.use(global.RouterBasePath, router)
|
||||
app.disable('x-powered-by')
|
||||
|
||||
this.server = http.createServer(app)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user