Skip to content

Commit

Permalink
update: fixed index.go link
Browse files Browse the repository at this point in the history
  • Loading branch information
statulr committed Sep 12, 2024
1 parent 4d258bd commit 02c13c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ func Main(w http.ResponseWriter, r *http.Request) {
}

w.WriteHeader(http.StatusCreated)
w.Write([]byte(fmt.Sprintf("Location: /u/%s", hashUrl)))
w.Write([]byte(fmt.Sprintf("Location: /s/%s", hashUrl)))
return
}

w.WriteHeader(http.StatusCreated)
w.Write([]byte(fmt.Sprintf("Location: /u/%s", hashUrl)))
w.Write([]byte(fmt.Sprintf("Location: /s/%s", hashUrl)))
}

0 comments on commit 02c13c2

Please sign in to comment.