Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Cleanup
Tomas Valentadf34e4e946c8
diff --git a/db/credentials.ts b/db/credentials.tsindex d09e915fd..61c3383e6 100644--- a/db/credentials.ts+++ b/db/credentials.ts@@ -1,4 +1,6 @@-const baseURL = typeof window !== 'undefined' && `${window.location.protocol}//${window.location.host}`+const baseURL = typeof window !== undefined+ ? `${window.location.protocol}//${window.location.host}`+ : '<THIS-SHOULD-BE-URL>'export const credentials = {supabaseUrl: process.env.SUPABASE_URL || `${baseURL}/api/supabase`,