Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix dev/prod api endpoint url
Tomáš Valenta2072ff722558
diff --git a/components/Editor/index.tsx b/components/Editor/index.tsxindex 93fa8f6e5..5b4f1914d 100644--- a/components/Editor/index.tsx+++ b/components/Editor/index.tsx@@ -18,8 +18,8 @@ import Routes from './Routes'// TODO: Prod API hostconst apiHost = process.env.NODE_ENV === 'development'- ? 'https://ai-api-service-7d2cl2hooq-uc.a.run.app'- : 'http://0.0.0.0:5000'+ ? 'http://0.0.0.0:5000'+ : 'https://ai-api-service-7d2cl2hooq-uc.a.run.app'export interface Props {project: projects