From 4910ec4f566711a0a44bbd007d865c2923782ceb Mon Sep 17 00:00:00 2001 From: Ibitoye Rotimi Best Date: Mon, 7 Aug 2023 18:48:51 +0000 Subject: [PATCH] Remove redirect from svelteapp --- src/routes/+layout.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/routes/+layout.js b/src/routes/+layout.js index 2e898afc..9c2bb2b0 100644 --- a/src/routes/+layout.js +++ b/src/routes/+layout.js @@ -1,7 +1,8 @@ import { redirect } from '@sveltejs/kit'; export const load = ({ url }) => { - if (url.hostname === 'classroomio.com') { - throw redirect(301, 'https://about.classroomio.com'); - } + // if (url.hostname === 'classroomio.com') { + // throw redirect(301, 'https://about.classroomio.com'); + // } + return {} };