gurucomputing / headscale-ui

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

fix ssr with nodekey param #122

Closed adrum closed 1 year ago

adrum commented 1 year 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 1 year ago

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