diff options
Diffstat (limited to 'code/app/src/routes/(main)')
| -rw-r--r-- | code/app/src/routes/(main)/+layout.server.ts | 4 | ||||
| -rw-r--r-- | code/app/src/routes/(main)/+layout.ts | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/code/app/src/routes/(main)/+layout.server.ts b/code/app/src/routes/(main)/+layout.server.ts index 5a3c1a2..acb9c22 100644 --- a/code/app/src/routes/(main)/+layout.server.ts +++ b/code/app/src/routes/(main)/+layout.server.ts @@ -1,5 +1,5 @@ import { api_base, CookieNames } from "$lib/configuration"; -import { log_error } from "$lib/logger"; +import { log_debug, log_error } from "$lib/logger"; import { error, redirect } from "@sveltejs/kit"; import type { LayoutServerLoad } from "./$types"; @@ -17,7 +17,7 @@ export const load: LayoutServerLoad = async ({ route, cookies, locals }) => { }) })).ok; - console.log("Base Layout loaded", { + log_debug("Base Layout loaded", { sessionIsValid, isPublicRoute, routeId: route.id diff --git a/code/app/src/routes/(main)/+layout.ts b/code/app/src/routes/(main)/+layout.ts index 491ea1f..cf08d66 100644 --- a/code/app/src/routes/(main)/+layout.ts +++ b/code/app/src/routes/(main)/+layout.ts @@ -4,7 +4,6 @@ import { loadLocaleAsync } from '$lib/i18n/i18n-util.async' import { setLocale } from '$lib/i18n/i18n-svelte' export const load: LayoutLoad<{ locale: Locales }> = async ({ data: { locale } }) => { - // load dictionary into memory await loadLocaleAsync(locale) setLocale(locale) return { locale } |
