Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Change supabase key env var

Tomas Valenta2b0b81698edd
diff --git a/api-service/app.py b/api-service/app.py
index aada94dcd..4e4156937 100644
--- a/api-service/app.py
+++ b/api-service/app.py
@@ -15,7 +15,7 @@ from database import Database, DeploymentState
load_dotenv()
url = os.environ.get("SUPABASE_URL")
-key = os.environ.get("SUPABASE_KEY")
+key = os.environ.get("SUPABASE_SECRET_KEY")
db = Database(url, key)
app = Quart(__name__)
diff --git a/api-service/start.sh b/api-service/start.sh
index c4cc8caf2..4f69f6206 100755
--- a/api-service/start.sh
+++ b/api-service/start.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Start playground api
-cd /playground && node lib/server.js &
+cd /playground && exec node lib/server.js &
# Start python app
# TODO: Start the server on the $PORT port instead of the fixed port.