refactor(backend): split log files into separate file
This commit is contained in:
@ -9,7 +9,9 @@ type CachedMovieCredits = {
|
||||
};
|
||||
|
||||
const CACHE_INTERVAL = 1000 * 60 * 24 * 30;
|
||||
const cache = createCache<CachedMovieCredits>({ expires: CACHE_INTERVAL });
|
||||
const cache = createCache<CachedMovieCredits>("movie-credits", {
|
||||
expires: CACHE_INTERVAL,
|
||||
});
|
||||
|
||||
const GET = async (
|
||||
_req: Request,
|
||||
|
Reference in New Issue
Block a user