Closed plusls closed 1 month ago
Supporting Details Provide the following:
control+shift+i
GET https://xxxx:10443/api/v1/machine/14/routes 404 (Not Found)
Describe the bug
Default, headscaleAPIMachineOrNode is null, so it use machine as the router query path.
machine
https://github.com/gurucomputing/headscale-ui/blob/64323e49c52a034d57867383549a51c65dfeddd6/src/lib/devices/DeviceCard/DeviceRoutesAPI.svelte#L9
https://github.com/gurucomputing/headscale-ui/blob/64323e49c52a034d57867383549a51c65dfeddd6/src/lib/common/apiFunctions.svelte#L159
machine needs to be updated to node, see #120
node
The machine or node check was removed, but clearly some references to machine got missed. Getting taken care of now
Supporting Details Provide the following:
control+shift+i
in chrome to see)GET https://xxxx:10443/api/v1/machine/14/routes 404 (Not Found)
Describe the bug
Default, headscaleAPIMachineOrNode is null, so it use
machine
as the router query path.https://github.com/gurucomputing/headscale-ui/blob/64323e49c52a034d57867383549a51c65dfeddd6/src/lib/devices/DeviceCard/DeviceRoutesAPI.svelte#L9
https://github.com/gurucomputing/headscale-ui/blob/64323e49c52a034d57867383549a51c65dfeddd6/src/lib/common/apiFunctions.svelte#L159