mirror of
https://github.com/p-stream/backend.git
synced 2026-04-21 04:42:24 +00:00
enabled the caching behavior LOL
This commit is contained in:
parent
687d72d8f8
commit
d97b93b0c1
1 changed files with 2 additions and 0 deletions
|
|
@ -144,4 +144,6 @@ export default defineCachedEventHandler(async (event) => {
|
||||||
statusMessage: 'Failed to fetch Letterboxd lists'
|
statusMessage: 'Failed to fetch Letterboxd lists'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
},{
|
||||||
|
maxAge: process.env.NODE_ENV === 'production' ? 60 * 60 * 24 : 0
|
||||||
});
|
});
|
||||||
Loading…
Reference in a new issue