redirects for legacy URLs
This commit is contained in:
5
src/routes/(legacy)/rants/+page.server.ts
Normal file
5
src/routes/(legacy)/rants/+page.server.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
export function load() {
|
||||
throw redirect(307, '/thoughts');
|
||||
}
|
5
src/routes/(legacy)/works/+page.server.ts
Normal file
5
src/routes/(legacy)/works/+page.server.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
export function load() {
|
||||
throw redirect(307, '/projects');
|
||||
}
|
5
src/routes/(legacy)/writes/+page.server.ts
Normal file
5
src/routes/(legacy)/writes/+page.server.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
export function load() {
|
||||
throw redirect(307, '/poetry');
|
||||
}
|
Reference in New Issue
Block a user