We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ee066e commit e81e280Copy full SHA for e81e280
cmd/redirector/redirector.go
@@ -1,5 +1,3 @@
1
-//+build ignore
2
-
3
// This small web app is used to redirect from the old taskfile.org domain
4
// to the new taskfile.dev without breaking CIs that uses cURL to download
5
// "/install.sh" without the -L flag (which follow redirects).
@@ -19,9 +17,9 @@ func main() {
19
17
return
20
18
}
21
22
- println("Redirecting to taskfile.dev")
+ println("Redirecting to https://taskfile.dev" + r.URL.Path)
23
24
- w.Header().Set("Location", "https://taskfile.dev")
+ w.Header().Set("Location", "https://taskfile.dev"+r.URL.Path)
25
w.WriteHeader(301)
26
})
27
0 commit comments