mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-03 12:02:33 +02:00

Reformatted code across multiple modules, standardizing string quotes, indentation, and spacing. Improved readability by restructuring blocks and aligning object properties consistently. These changes ensure better code maintainability and follow standard conventions. Signed-off-by: Toby Liddicoat <toby@codesure.co.uk>
14 lines
319 B
JavaScript
14 lines
319 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;
|