fix: ssr redirect issue

This commit is contained in:
Xylight committed 2024-03-15 14:34:51 -07:00
1 parent a505bd5b64
commit ae0657cf7c
9 files changed
+101 -63

No files matched your search

+1 -1
View File
@@ -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');