Merge pull request #113 from one-among-us/resolve_cache

[M] Resolve cache
pull/114/head
北雁云依 2023-04-14 15:04:33 +08:00 committed by GitHub
commit d419b4e15e
Signed by: github
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ function buildPeoplePages() {
const result = renderMdx(markdown);
fs.ensureDirSync(distPath);
fs.writeFileSync(path.join(distPath, `page${lang}.js`), result);
fs.writeFileSync(path.join(distPath, `page${lang}.json`), JSON.stringify(result));
}
}
}