mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-07-27 06:54:46 +00:00
fix: broken site
This commit is contained in:
+2
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user