We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e4b56 commit a58337bCopy full SHA for a58337b
apps/web/lib/supabase.ts
@@ -1,4 +1,8 @@
1
import { createClient } from "@supabase/supabase-js";
2
+import { config } from "dotenv";
3
+import { resolve } from "path";
4
+
5
+config({ path: resolve(process.cwd(), "../../.env") });
6
7
const supabaseUrl = process.env.SUPABASE_URL!;
8
const supabaseAnonKey = process.env.SUPABASE_ANON_KEY!;
0 commit comments