Skip to content

Commit

Permalink
program must be set
Browse files Browse the repository at this point in the history
  • Loading branch information
jpillora authored Apr 25, 2023
1 parent b9eb77b commit bdbbe3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
q.Program = h.Config.ForceRepo
}
// validate query
valid := q.User != ""
valid := q.Program != ""
if !valid && path == "" {
http.Redirect(w, r, "https://github.com/jpillora/installer", http.StatusMovedPermanently)
return
Expand Down

0 comments on commit bdbbe3b

Please sign in to comment.