feat : update agent 2
Some checks failed
Build and Push Docker Images / docker (push) Failing after 8s

This commit is contained in:
jeanotx32
2026-05-18 23:29:18 -04:00
parent a235116669
commit dfca25ab03
9 changed files with 226 additions and 10 deletions

View File

@@ -90,3 +90,12 @@ export async function deleteVps(vpsId) {
})
return handleResponse(res)
}
export async function composeUpdate(vpsId, project) {
const res = await fetch(`${BASE}/vps/${vpsId}/compose/update`, {
method: 'POST',
headers: authHeaders(),
body: JSON.stringify({ project }),
})
return handleResponse(res)
}