Skip to content

Commit

Permalink
Merge pull request #1506 from ThatConference/cs/cfpRedirect
Browse files Browse the repository at this point in the history
refactor: updates the redirects
  • Loading branch information
theClarkSell authored Jan 2, 2024
2 parents b5d212d + fcc475b commit 4d10a32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/routes/call-for-counselors/+page.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { redirect } from '@sveltejs/kit';
import { thatConferenceRedirect as tcr } from '$utils/config.public.js';
// import { thatConferenceRedirect as tcr } from '$utils/config.public.js';

export async function load() {
throw redirect(301, `${tcr.baseUrl}/cfp`);
throw redirect(301, `/activities/create/?event=THATConferenceWisconsin2024`);
}
4 changes: 2 additions & 2 deletions src/routes/cfp/+page.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { redirect } from '@sveltejs/kit';
import { thatConferenceRedirect as tcr } from '$utils/config.public.js';
// import { thatConferenceRedirect as tcr } from '$utils/config.public.js';

export async function load() {
throw redirect(301, `${tcr.baseUrl}/cfp`);
throw redirect(301, `/activities/create/?event=THATConferenceWisconsin2024`);
}
Empty file removed src/routes/cfp/+page.svelte
Empty file.

0 comments on commit 4d10a32

Please sign in to comment.