fix(web-proxy): wrong api redirect

This commit is contained in:
spiral 2022-12-10 16:51:58 +00:00
parent b01ffa8161
commit 90d94d9330
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -76,7 +76,7 @@ func (p ProxyHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
}
if r.URL.Path == "/" {
http.Redirect(rw, r, "https://pluralkit.me", http.StatusFound)
http.Redirect(rw, r, "https://pluralkit.me/api", http.StatusFound)
return
}