migrate to sveltekit 2

This commit is contained in:
Xylight committed 2024-02-10 16:01:04 -08:00
1 parent ff52be7f34
commit a7c1e2a21f
11 files changed
+21 -20

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ export function load({ params, url }) {
const newUrl = new URL(url)
newUrl.pathname = split.join('/')
throw redirect(300, newUrl.toString())
redirect(300, newUrl.toString());
}
throw error(404, 'Not found')
error(404, 'Not found');
}