1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-16 19:45:33 -04:00

lengthen cache-control headers

This commit is contained in:
2022-05-02 10:29:01 -04:00
parent d8d7d7d775
commit 64303400a4
10 changed files with 36 additions and 27 deletions

View File

@@ -115,7 +115,7 @@ export const getAllNotes = async (): Promise<NoteFrontMatter[]> => {
});
// sort the results by date
const sorted = data.sort((note1, note2) => (note1.date > note2.date ? -1 : 1));
data.sort((note1, note2) => (note1.date > note2.date ? -1 : 1));
return sorted;
return data;
};