1
0
Fork 0
forked from jriou/coller

fix(clients): download URL for copier

The project name is "coller" and not the client name.

Fixes #42.

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2025-10-06 13:43:42 +02:00
commit 888e2b3278
Signed by: jriou
GPG key ID: 9A099EDA51316854

View file

@ -253,5 +253,5 @@ func (h *ClientHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
version = "latest"
}
http.Redirect(w, r, fmt.Sprintf("https://git.riou.xyz/jriou/%s/releases/download/%s/%s-%s-%s", clientName, version, clientName, os, arch), http.StatusMovedPermanently)
http.Redirect(w, r, fmt.Sprintf("https://git.riou.xyz/jriou/coller/releases/download/%s/%s-%s-%s", version, clientName, os, arch), http.StatusMovedPermanently)
}