mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
fix redirect
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user