mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-08-26 06:22:02 +02:00
Initial commit
This commit is contained in:
10
node_modules/nocache/dist/index.js
generated
vendored
Normal file
10
node_modules/nocache/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
module.exports = function nocache() {
|
||||
return function nocache(_req, res, next) {
|
||||
res.setHeader('Surrogate-Control', 'no-store');
|
||||
res.setHeader('Cache-Control', 'no-store, no-cache, must-revalidate, proxy-revalidate');
|
||||
res.setHeader('Pragma', 'no-cache');
|
||||
res.setHeader('Expires', '0');
|
||||
next();
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user