export const GET = async ({ url }) => Response.json( await ( await fetch( `https://subsplease.org/api/?f=schedule&tz=${ url.searchParams.get('tz') || 'America/Los_Angeles' }` ) ).json(), { headers: { 'Cache-Control': 'max-age=86400, s-maxage=86400', 'Access-Control-Allow-Origin': 'https://due.moe' } } );