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

fix ssr with nodekey param #122

Closed adrum closed 8 months ago

adrum commented 8 months ago

I noticed when trying to build the production dockerfile, the previous methodology of accessing the search params were inaccessible during SSR. This just moves the reading of the URL to the onMount method to bring compatibility for SSR.

routerino commented 8 months ago

Thanks, would have been picked up ideally within the release tests but that's where a good CICD test pipeline would be useful.