Temporarily remove cache for API
This commit is contained in:
parent
1d8899c382
commit
a384b5c477
|
@ -32,7 +32,7 @@ export default async (request: NextRequest) => {
|
|||
return new Response(JSON.stringify(data), {
|
||||
headers: {
|
||||
'content-type': 'application/json',
|
||||
'cache-control': 'public, max-age=600, stale-while-revalidate=1200',
|
||||
// 'cache-control': 'public, max-age=600, stale-while-revalidate=1200',
|
||||
},
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue