-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
288a856
commit d59ba23
Showing
3 changed files
with
3 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,4 @@ | ||
// import { createClient } from "@supabase/supabase-js"; | ||
// const dbCreds = { | ||
// local: [ | ||
// 'http://localhost:54321', | ||
// 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0', | ||
// ], | ||
// dev: [ | ||
// 'https://egwyahahiyjfwqswsanw.supabase.co', | ||
// 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImVnd3lhaGFoaXlqZndxc3dzYW53Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTQwMzcxNjYsImV4cCI6MjAwOTYxMzE2Nn0.-8TSIQZa6cJILq0z7d-Hn6LbHwUwKagwop7fJuULItM', | ||
// ], | ||
// } | ||
// export const supabase = createClient( | ||
// // 'http://localhost:54321', | ||
// // 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0', | ||
// // 'https://egwyahahiyjfwqswsanw.supabase.co', | ||
// // 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImVnd3lhaGFoaXlqZndxc3dzYW53Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTQwMzcxNjYsImV4cCI6MjAwOTYxMzE2Nn0.-8TSIQZa6cJILq0z7d-Hn6LbHwUwKagwop7fJuULItM', | ||
// ...dbCreds.local, | ||
// ); | ||
|
||
import { createClient } from '@supabase/supabase-js' | ||
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL | ||
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY | ||
console.log(supabaseUrl, supabaseAnonKey) | ||
export const supabase = createClient(supabaseUrl, supabaseAnonKey) |