gurucomputing / headscale-ui

A web frontend for the headscale Tailscale-compatible coordination server
BSD 3-Clause "New" or "Revised" License
1.75k stars 121 forks source link

Remove Dynamic API check in future version #137

Closed routerino closed 1 month ago

routerino commented 8 months ago

The dynamic API check is a necessity due to breaking API changes in the upstream headscale product, but the current fix doubles up on API calls related to devices. This is not a large issue but should be removed in a future version for minor optimisation purposes.

routerino commented 8 months ago

Perhaps we can move the check from the start of the API call to only if there was an error within the device calling APIs. This would significantly cut down on redundant calls.