Drop cache on Now page api, temporarily

This commit is contained in:
Lewis Dale 2023-08-18 10:14:35 +01:00
parent 97a4995a29
commit bc54c42d9f

View File

@ -6,7 +6,7 @@ module.exports = {
// Retrieve the /now page from the server // Retrieve the /now page from the server
const body = await EleventyFetch("https://api.omg.lol/address/lewis/now", { const body = await EleventyFetch("https://api.omg.lol/address/lewis/now", {
type: 'json', type: 'json',
duration: '6h' duration: '10m'
}); });
// Convert the unix timestamp to a JS datetime timestamp // Convert the unix timestamp to a JS datetime timestamp