fix(web-proxy): wrong api redirect

This commit is contained in:
spiral
2022-12-10 16:51:58 +00:00
parent b01ffa8161
commit 90d94d9330

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
}