mirror of https://github.com/tailscale/tailscale/
cmd/tailscale/cli: disallow empty text "" from serve CLI (#6416)
Current behavior is broken. tailscale serve text / "" returns no error and shows up in tailscale serve status but requests return a 500 "empty handler". Adds an error if the user passes in an empty string for the text handler. Closes #6405 Signed-off-by: Shayne Sweeney <shayne@tailscale.com>pull/6418/head
parent
d1e1c025b0
commit
bdd8ce6692
Loading…
Reference in New Issue