mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
update file format
remove newline at end of file
This commit is contained in:
@ -77,4 +77,4 @@ export const allPostsPath = async () => {
|
||||
export const readSinglePost = async (slug: string) => {
|
||||
const filename = path.join(`${dataPath}/${slug}.mdx`);
|
||||
return await fs.readFile(filename, { encoding: 'utf-8' });
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user