Skip to content

Commit

Permalink
fix: update redirect URL in layout server to point to the new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
MoinJulian committed Nov 21, 2024
1 parent 84a10f3 commit 363e9bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { PUBLIC_YOUR_DOMAIN } from '$env/static/public';
import type { ServerLoad } from '@sveltejs/kit';
import { redirect } from '@sveltejs/kit';

export const load: ServerLoad = async () => {
throw redirect(307, PUBLIC_YOUR_DOMAIN);
throw redirect(307, 'https://realgolf.games');
};

0 comments on commit 363e9bb

Please sign in to comment.