Skip to content

Commit

Permalink
feat: switch to permanent redirect for root redirect
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Jan 8, 2025
1 parent 6ac0412 commit a315cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ func setupLogger() {
}

func rootRedirect(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "https://mattglei.ch/lcp", http.StatusTemporaryRedirect)
http.Redirect(w, r, "https://mattglei.ch/lcp", http.StatusPermanentRedirect)
}

0 comments on commit a315cc8

Please sign in to comment.