Skip to content

Commit 8a673b8

Browse files
dimfeldtechniq
authored andcommitted
Run svelte-migrate for Kit v2 (#218)
1 parent 6912e84 commit 8a673b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte-ux/src/routes/+layout.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export async function load({ url }) {
1010
if (url.host === 'svelte-ux.vercel.app') {
1111
const newUrl = new URL(url);
1212
newUrl.host = 'svelte-ux.techniq.dev';
13-
throw redirect(302, newUrl.toString());
13+
redirect(302, newUrl.toString());
1414
}
1515

1616
return {

0 commit comments

Comments
 (0)