fix redirect

This commit is contained in:
iacore
2024-08-27 20:26:24 +00:00
parent 7b8fb618eb
commit 00a060caa6
+1 -1
View File
@@ -23,7 +23,7 @@ func RedirectTo(w http.ResponseWriter, r *http.Request, path string, query_param
for k, v := range query_params {
query.Add(k, v)
}
http.Redirect(w, r, path+query.Encode(), http.StatusSeeOther)
http.Redirect(w, r, path+"?"+query.Encode(), http.StatusSeeOther)
return nil
}