Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix supabase creds
Tomas Valenta331f72d0bfb7
diff --git a/apps/dashboard/db/credentials.ts b/apps/dashboard/db/credentials.tsindex cb1e9be2a..d4a7f8061 100644--- a/apps/dashboard/db/credentials.ts+++ b/apps/dashboard/db/credentials.ts@@ -3,13 +3,7 @@ export const serverCreds = {supabaseKey: process.env.SUPABASE_SERVICE_ROLE_KEY,}-export const localURL = typeof window !== 'undefined'- ? `${window.location.protocol}//${window.location.host}`- : 'http://localhost:3000'-export const clientCreds = {- supabaseUrl: process.env.NEXT_PUBLIC_PROXY- ? `${localURL}/api/supabase`- : process.env.NEXT_PUBLIC_SUPABASE_URL,+ supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL,supabaseKey: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,}