Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix dev/prod api endpoint url

Tomáš Valenta2072ff722558
diff --git a/components/Editor/index.tsx b/components/Editor/index.tsx
index 93fa8f6e5..5b4f1914d 100644
--- a/components/Editor/index.tsx
+++ b/components/Editor/index.tsx
@@ -18,8 +18,8 @@ import Routes from './Routes'
// TODO: Prod API host
const 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