mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 21:58:59 +08:00
feat(supabase): add read replica routing (#1274)
This commit is contained in:
parent
39b61132bf
commit
904e69bfbc
@ -23,7 +23,13 @@ class SupabaseService {
|
||||
"Supabase environment variables aren't configured correctly. Supabase client will not be initialized. Fix ENV configuration or disable DB authentication with USE_DB_AUTHENTICATION env variable",
|
||||
);
|
||||
} else {
|
||||
this.client = createClient(supabaseUrl, supabaseServiceToken);
|
||||
this.client = createClient(supabaseUrl, supabaseServiceToken, {
|
||||
global: {
|
||||
headers: {
|
||||
"sb-lb-routing-mode": "alpha-all-services",
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user