Skip to content

Modern Docker Management, Designed for Everyone

fix: revert redirect in layout

Kyle Mendellc65970710f16
diff --git a/frontend/src/routes/+layout.ts b/frontend/src/routes/+layout.ts
index 94acb89e5..bb948f8ac 100644
--- a/frontend/src/routes/+layout.ts
+++ b/frontend/src/routes/+layout.ts
@@ -8,7 +8,7 @@ import { redirect } from '@sveltejs/kit';
export const ssr = false;
-export const load = async ({ url }) => {
+export const load = async () => {
const updateCheckDisabled = env.PUBLIC_UPDATE_CHECK_DISABLED === 'true';
let arcaneSettings = await tryCatch(settingsAPI.getSettings());
@@ -33,10 +33,6 @@ export const load = async ({ url }) => {
versionInformation = await versionService.getVersionInformation();
}
- if (url.pathname === '/') {
- throw redirect(307, '/dashboard');
- }
-
return {
user,
isAuthenticated: !!user,