Merge pull request #10 from FifthWit/master

enabled the caching behavior LOL
This commit is contained in:
FifthWit 2025-06-03 13:31:07 -05:00 committed by GitHub
commit efb534d50b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,4 +144,6 @@ export default defineCachedEventHandler(async (event) => {
statusMessage: 'Failed to fetch Letterboxd lists'
});
}
},{
maxAge: process.env.NODE_ENV === 'production' ? 60 * 60 * 24 : 0
});