headscale-ui
headscale-ui copied to clipboard
Trim tailing slash in `Headscale URL` field
Minor issue: if Headscale URL is filled to include a trailing /, this causes the requests to Headscale to be of the form https://server//api/... which returns 404s.
Options:
- Assuming that headscale-ui is indeed served from
/web/and heascale's API is at/, this could be auto-configured; - The UI should hint that trailing
/s are probably unnecessary, or - The trailing
/should be trimmed automatically
Thanks!
I'm not actually getting this issue. I can configure the app to remove the trailing slash regardless (probably not a terrible idea), but I can't recreate the problem either.