feat: 移除调试信息,清理加载函数

This commit is contained in:
Vixalie
2026-03-26 17:16:31 +08:00
parent f28b8e0b88
commit 0f32fef15f
-1
View File
@@ -17,7 +17,6 @@ function isGuardedPage(pathname: string) {
export const load: LayoutLoad = async ({url}) => {
const currentOpenedDataset = get(openedDatasetDir);
console.debug('[Main Load]', currentOpenedDataset, url);
if (isNil(currentOpenedDataset) && isGuardedPage(url.pathname)) {
redirect(303, "/boot");