Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Remove newlines; Exclude code in supabase dir from NextJS build

Tomas Valenta688a53cb756b
diff --git a/supabase/functions/new_user/index.ts b/supabase/functions/new_user/index.ts
index ed161f631..49fc36968 100644
--- a/supabase/functions/new_user/index.ts
+++ b/supabase/functions/new_user/index.ts
@@ -1,4 +1,3 @@
-
import { serve } from 'https://deno.land/[email protected]/http/server.ts'
serve(async (req) => {
@@ -17,7 +16,7 @@ serve(async (req) => {
'https://app.loops.so/api/v1/contacts/create',
{
method: 'POST',
- headers: { 'Content-Type': 'application/json' , 'Accept': 'application/json', 'Authorization': `Bearer ${Deno.env.get('API_KEY_LOOPS')}`},
+ headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': `Bearer ${Deno.env.get('API_KEY_LOOPS')}` },
body: JSON.stringify(body)
}
)
diff --git a/tsconfig.json b/tsconfig.json
index 6f513da4e..104f52e4f 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -31,6 +31,7 @@
"**/*.tsx",
],
"exclude": [
+ "supabase",
"node_modules",
"api-service",
"api-client/api/schema.gen.ts"