Skip to content

Commit

Permalink
Correct the local cache times
Browse files Browse the repository at this point in the history
  • Loading branch information
LkeMitchll committed Sep 12, 2023
1 parent d533b75 commit 9817cd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/_data/carbon.cjs
Expand Up @@ -4,7 +4,7 @@ module.exports = async function carbon() {
const result = Fetch(
'https://api.websitecarbon.com/b?url=https%3A%2F%2Finterroban.gg',
{
duration: '1m',
duration: '1d',
type: 'json',
},
).then((json) => json);
Expand Down
8 changes: 4 additions & 4 deletions src/_providers/lastfm.cjs
Expand Up @@ -21,7 +21,7 @@ module.exports = class LastFMAPI {
.join('&');

return Fetch(`${this.apiEndpoint}?${params}`, {
duration: '1h',
duration: '1d',
type: 'json',
});
}
Expand All @@ -40,7 +40,7 @@ module.exports = class LastFMAPI {
.join('&');

return Fetch(`${this.apiEndpoint}?${params}`, {
duration: '1h',
duration: '1d',
type: 'json',
});
}
Expand All @@ -59,7 +59,7 @@ module.exports = class LastFMAPI {
.join('&');

return Fetch(`${this.apiEndpoint}?${params}`, {
duration: '1h',
duration: '1d',
type: 'json',
});
}
Expand All @@ -78,7 +78,7 @@ module.exports = class LastFMAPI {
.join('&');

return Fetch(`${this.apiEndpoint}?${params}`, {
duration: '1h',
duration: '1d',
type: 'json',
});
}
Expand Down

0 comments on commit 9817cd4

Please sign in to comment.