You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`returning link preview from https://api.foracross.com/api/link_preview?url=${url}`);
// crawled by link expander bot, so redirect to link preview endpoint for this game URL
return new Response(null, {
status: 307,
headers: {
Location: `https://api.foracross.com/api/link_preview?url=${url}`, // vercel middleware can't really be tested in dev so just hardcoding to prod endpoint