We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29e8589 commit a899431Copy full SHA for a899431
src/lib/kumilinwa/refreshCache.ts
@@ -10,7 +10,7 @@ const Dirname = join(dirname(fileURLToPath(import.meta.url)));
10
export async function refreshCachedLangSpec() {
11
const data = await fetch(LangSpecURL).then(res => res.json());
12
await writeFile(join(Dirname, 'langspec.cache.json'), JSON.stringify(data));
13
- await new Jsoning(join('..', '..', '..', 'stats.tmp.db.json')).set(
+ await new Jsoning(join(Dirname, '..', '..', '..', 'stats.tmp.db.json')).set(
14
'langSpecCacheAge',
15
Date.now()
16
);
0 commit comments