fix: ssr redirect issue
This commit is contained in:
1 parent
a505bd5b64
commit
ae0657cf7c
9 files changed
+101
-63
No files matched your search
@@ -12,7 +12,7 @@ export function load({ params, url }) {
|
||||
const newUrl = new URL(url)
|
||||
newUrl.pathname = split.join('/')
|
||||
|
||||
redirect(300, newUrl.toString());
|
||||
redirect(302, newUrl.toString());
|
||||
}
|
||||
|
||||
error(404, 'Not found');
|
||||
|
||||
Reference in new issue
Block a user