aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/+layout.server.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routes/+layout.server.ts b/src/routes/+layout.server.ts
index 5e2c7fbd..9f0c584d 100644
--- a/src/routes/+layout.server.ts
+++ b/src/routes/+layout.server.ts
@@ -3,7 +3,7 @@ import { auth, get, isInvalidTokenError, sleep } from "$lib/utils";
import { redirect } from "@sveltejs/kit";
export const load = async ({ cookies, request, url }) => {
- const { host, pathname } = url;
+ const { pathname } = url;
let user;
const token = cookies.get("token");
if (token) {
@@ -53,7 +53,6 @@ export const load = async ({ cookies, request, url }) => {
return {
theme,
- host,
pathname,
i18n: { locale, route: pathname },
user,