Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change api to dynamically check for breaking change #132

Merged
merged 6 commits into from
Feb 24, 2024

Conversation

routerino
Copy link
Contributor

This pull requests checks to see if the api routes for machine have been renamed to node and changes accordingly. Note that this introduces two API calls per device related request instead of one. Due to this, the recommendation is to remove this fix when the old version is deprecated.

vsychov and others added 6 commits September 29, 2023 20:04
* Rename machine to node in api

According to juanfont/headscale#1553

* more fixes
* added a new device registration form

* removed unused variables

* remove old register html

* bind new device key from url

* remove redirect

* clear nodekey query string param after successuful addition

* expand bool flipping

* added documention on nodekey

* remove null check

* tweak wording
@routerino routerino merged commit eead985 into master Feb 24, 2024
@routerino routerino deleted the headscale-machine-api-change branch February 24, 2024 03:13
@routerino routerino linked an issue Feb 24, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename Machine into Node
3 participants