mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 20:10:53 +03:00
15 lines
318 B
JavaScript
15 lines
318 B
JavaScript
|
const apicache = require("./apicache");
|
||
|
|
||
|
apicache.options({
|
||
|
headerBlacklist: [
|
||
|
"cache-control"
|
||
|
],
|
||
|
headers: {
|
||
|
// Disable client side cache, only server side cache.
|
||
|
// BUG! Not working for the second request
|
||
|
"cache-control": "no-cache",
|
||
|
},
|
||
|
});
|
||
|
|
||
|
module.exports = apicache;
|