feat: 移除调试信息,清理加载函数
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user