Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
/** @type {import('@sveltejs/kit').HandleServerError} */ | |
export async function handle({ event, resolve }) { | |
const request = event.request; | |
const url = new URL(request.url); | |
if (url.pathname === "/") { | |
return new Response(null, { | |
status: 302, | |
headers: { | |
location: "/models" | |
} | |
}); | |
} | |
return resolve(event); | |
} |