gurucomputing / headscale-ui

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

Remove Dynamic API check in future version #137

Open routerino opened 4 months ago

routerino commented 4 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 4 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.