Support updating docker image for a server from the frontend
This commit is contained in:
parent
1dacd703df
commit
5bbb36b3cf
12 changed files with 171 additions and 19 deletions
5
resources/scripts/api/server/setSelectedDockerImage.ts
Normal file
5
resources/scripts/api/server/setSelectedDockerImage.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import http from '@/api/http';
|
||||
|
||||
export default async (uuid: string, image: string): Promise<void> => {
|
||||
await http.put(`/api/client/servers/${uuid}/settings/docker-image`, { docker_image: image });
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue