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:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user