fix: broken site

This commit is contained in:
2023-11-15 02:05:44 +01:00
parent 561300de64
commit 623d895aea
3 changed files with 5 additions and 9 deletions
+2 -4
View File
@@ -1,8 +1,6 @@
import {redirect} from "@sveltejs/kit"
import type {PageLoad} from "./$types"
export const load = (async ({url}) => {
const newUrl = new URL(url)
newUrl.pathname = "/config/"
throw redirect(302, newUrl)
export const load = (() => {
throw redirect(302, "/config")
}) satisfies PageLoad