diff --git a/frontend/src/utils/api.js b/frontend/src/utils/api.js index f7a4d77..a218992 100644 --- a/frontend/src/utils/api.js +++ b/frontend/src/utils/api.js @@ -4,17 +4,17 @@ const apiHost = env.REACT_APP_NETWORK_RESURRECTOR_API_URL; const networkRoute = `${apiHost}/network`; const systemRoute = `${apiHost}/system`; -const powerActionsRoute = `${apiHost}/resurrector`; +const resurrectorRoute = `${apiHost}/resurrector`; const securityRoute = `${apiHost}/security`; const endpoints = { network: { machines: `${networkRoute}/machines`, machine: { - wake: `${powerActionsRoute}/wake`, - ping: `${powerActionsRoute}/ping`, - shutdown: `${powerActionsRoute}/shutdown`, - restart: `${powerActionsRoute}/restart` + wake: `${resurrectorRoute}/wake`, + ping: `${resurrectorRoute}/ping`, + shutdown: `${resurrectorRoute}/shutdown`, + restart: `${resurrectorRoute}/restart` } }, system: {