mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-20 02:44:31 +02: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue