Skip to content

Commit

Permalink
fix: fixes actions with new routes. fixes #2883 (#2884)
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Apr 9, 2024
1 parent 5110456 commit 9aaae8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/composable/containerActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const useContainerActions = () => {
});

async function actionHandler(action: ContainerActions) {
const actionUrl = `/api/actions/${action}/${container.value.host}/${container.value.id}`;
const actionUrl = `/api/hosts/${container.value.host}/containers/${container.value.id}/actions/${action}`;

const errors = {
404: "container not found",
Expand Down

0 comments on commit 9aaae8e

Please sign in to comment.