Commit 7917da1
committed
golink: use http.StatusFound for redirects
If users belong to multiple tailnets with golinks deployed (as is common) then
permanent redirects for one will conflict with the others. To prevent this we
will use `http.StatusFound` to prompt browsers to continue to visit the `go/`
URL in the future.
Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>1 parent 5e70935 commit 7917da1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
0 commit comments