Merge pull request #6652 from supabase/fix/strip-headers-test

Fix/strip headers test
This commit is contained in:
Jonathan Summers-Muir authored and GitHub committed 2022-05-02 18:17:54 +08:00
commit 3d04e86d9c
1 file changed
+7
+7
View File
@@ -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}` }),