change gke cluster

This commit is contained in:
Ishaan Dey
2024-05-13 03:00:15 -07:00
parent 59fb0521af
commit 5df770bdd6
7 changed files with 18 additions and 44 deletions

View File

@ -76,17 +76,4 @@ export async function startServer(sandboxId: string, userId: string, callback: (
callback(false)
}
}
export const stopServer = async (sandboxId: string, userId: string) => {
const res = await fetch("http://localhost:4001/stop", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
sandboxId,
userId
}),
})
}