mirror of https://github.com/tailscale/tailscale/
safeweb: return http.Handler from safeweb.RedirectHTTP (#11538)
Updates #cleanup Change the return type of the safeweb.RedirectHTTP method to a handler that can be passed directly to http.Serve without any http.HandlerFunc wrapping necessary. Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>pull/11541/head
parent
3e6306a782
commit
b60c4664c7
Loading…
Reference in New Issue