File tree Expand file tree Collapse file tree
refine-vite/plugins/data-provider-supabase Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,18 @@ const base = {
1717 refineMuiImports : [ ] ,
1818 wrapper : [ ] ,
1919 } ,
20+ _env : {
21+ variables : [
22+ "VITE_API_URL=https://iwdfzvfqbtokqetmbmbp.supabase.co" ,
23+ "VITE_SUPABASE_API_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYzMDU2NzAxMCwiZXhwIjoxOTQ2MTQzMDEwfQ._gr6kXGkQBi9BM9dx5vKaNKYj_DJN1xlkarprGpM_fU" ,
24+ ] ,
25+ } ,
26+ _constants : {
27+ export : [
28+ 'export const SUPABASE_URL = import.meta.env.VITE_API_URL || "https://iwdfzvfqbtokqetmbmbp.supabase.co";' ,
29+ 'export const SUPABASE_KEY = import.meta.env.VITE_SUPABASE_API_KEY || "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYzMDU2NzAxMCwiZXhwIjoxOTQ2MTQzMDEwfQ._gr6kXGkQBi9BM9dx5vKaNKYj_DJN1xlkarprGpM_fU";' ,
30+ ] ,
31+ } ,
2032} ;
2133module . exports = {
2234 extend ( ) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments