Skip to content

Commit

Permalink
Update +layout.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Asguho committed Aug 13, 2024
1 parent 18d692c commit 52cb6fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/+layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
/**
Expand Down

0 comments on commit 52cb6fb

Please sign in to comment.