mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
Merge pull request #6652 from supabase/fix/strip-headers-test
Fix/strip headers test
This commit is contained in:
1 file changed
+7
@@ -7,6 +7,13 @@ export function constructHeaders(headers: any) {
|
||||
if (headers) {
|
||||
return {
|
||||
...headers,
|
||||
/**
|
||||
* temporary removal
|
||||
* testing an additional domain for dashboard client
|
||||
*
|
||||
* @author @mildtomato
|
||||
*/
|
||||
host: undefined,
|
||||
...(IS_PLATFORM
|
||||
? { apiKey: `${process.env.READ_ONLY_API_KEY}` }
|
||||
: { apiKey: `${process.env.SUPABASE_SERVICE_KEY}` }),
|
||||
|
||||
Reference in new issue
Block a user