From 52cb6fbefcc1073700d5c9ef6354d76291b6aa69 Mon Sep 17 00:00:00 2001 From: Asguho <78410939+Asguho@users.noreply.github.com> Date: Tue, 13 Aug 2024 15:44:18 +0200 Subject: [PATCH] Update +layout.ts --- src/routes/+layout.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index 712068d..b93adf8 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -6,8 +6,10 @@ export const ssr = false; // supabase import { createBrowserClient, createServerClient, isBrowser } from "@supabase/ssr"; -import { PUBLIC_SUPABASE_ANON_KEY, PUBLIC_SUPABASE_URL } from "$env/static/public"; import type { LayoutLoad } from "./$types"; +const PUBLIC_SUPABASE_URL = "https://fqxzqrgvpboemjpafdph.supabase.co"; +const PUBLIC_SUPABASE_ANON_KEY = + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImZxeHpxcmd2cGJvZW1qcGFmZHBoIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjE5ODU0MzEsImV4cCI6MjAzNzU2MTQzMX0.D__MYtyLHcubX3SM7b1yI1OB6EVj6i0lgpGz2CY6dFU"; export const load: LayoutLoad = async ({ data, depends, fetch }) => { /**