change gke cluster
This commit is contained in:
@ -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
|
||||
}),
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user