Skip to content

Commit

Permalink
update cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Nov 7, 2024
1 parent 1845e96 commit f719aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/nextPostJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const nextPostJsonWithCache = async (
const md5 = new Md5();
md5.appendStr(`${url}\n${bodyJsonString}`);
const hash = md5.end();
const key = `trident-cache_2024-11-07_005_${hash}`;
const key = `trident-cache_2024-11-07_006_${hash}`;
const unixtime = Math.floor(new Date().getTime() / 1000);

const fetchAndCache = async () => {
Expand Down

0 comments on commit f719aea

Please sign in to comment.