migrate to sveltekit 2
This commit is contained in:
1 parent
ff52be7f34
commit
a7c1e2a21f
11 files changed
+21
-20
No files matched your search
@@ -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');
|
||||
}
|
||||
Reference in new issue
Block a user