Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 350 Bytes
b0122ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
/** @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);
} |