fix(clients): download URL for copier
All checks were successful
/ pre-commit (push) Successful in 1m25s
All checks were successful
/ pre-commit (push) Successful in 1m25s
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:
parent
5232b10a7c
commit
888e2b3278
1 changed files with 1 additions and 1 deletions
|
@ -253,5 +253,5 @@ func (h *ClientHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
version = "latest"
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue