export const GET = async ({ setHeaders }) => { setHeaders({ 'Cache-Control': 'public, max-age=600, s-maxage=600' }); return Response.json( await ( await fetch('https://www.wlnupdates.com/api', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': 'https://due.moe' }, body: JSON.stringify({ mode: 'get-releases' }) }) ).json() ); };