Closed cesco69 closed 1 month ago
see https://expressjs.com/en/api.html#app.disable
const express = require("ultimate-express"); const app = express(); app.disable('etag'); app.listen(3000, () => { console.log('Server is running on port 3000'); });
Response header ha etag.
The workaround is add an empty etag function, eg.:
const express = require("ultimate-express"); const app = express(); app.disable('etag'); app.set('etag fn', null); // <-- this app.listen(3000, () => { console.log('Server is running on port 3000'); });
Fixed
see https://expressjs.com/en/api.html#app.disable
Response header ha etag.
The workaround is add an empty etag function, eg.: