Skip to content

Commit

Permalink
server: redirect / to GH repo temporarily
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan13888 <29968201+Nathan13888@users.noreply.github.com>
  • Loading branch information
Nathan13888 committed Jul 13, 2021
1 parent c6df23c commit c135495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.go
Expand Up @@ -162,7 +162,8 @@ func getBadge(w http.ResponseWriter, r *http.Request) {
}

func getWebsite(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "A website is currently unavailable :(")
// fmt.Fprintf(w, "A website is currently unavailable :(")
http.Redirect(w, r, "https://github.com/Nathan13888/VisitorBadgeReloaded", http.StatusTemporaryRedirect)
}

func getPing(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit c135495

Please sign in to comment.