Initial commit from Create Next App
This commit is contained in:
6
utils/supabase/check-env-vars.ts
Normal file
6
utils/supabase/check-env-vars.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
// This check can be removed
|
||||
// it is just for tutorial purposes
|
||||
|
||||
export const hasEnvVars =
|
||||
process.env.NEXT_PUBLIC_SUPABASE_URL &&
|
||||
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY;
|
||||
Reference in New Issue
Block a user