summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-17 06:26:01 -0600
committerJeff Carr <[email protected]>2024-11-17 06:26:01 -0600
commit014c9d5e3a408cb2b795acb994847b9b0a8b723a (patch)
tree0cd8c41a5dff8098ccb658592b0f107e1b2a9ca6 /main.go
parent47d10c231f09ee5d4dcb4e4c27c7f027c1f792ae (diff)
remove old git.wit.org referencesv0.22.9v0.22.8v0.22.7v0.22.6v0.22.10
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/main.go b/main.go
index 40a4cbc..8037a50 100644
--- a/main.go
+++ b/main.go
@@ -65,10 +65,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
indexBodyEnd(w)
return
}
- if tmp == "/old" {
- writeFile(w, "index.html")
- return
- }
if tmp == "/install.sh" {
writeFile(w, "install.sh")
return
@@ -91,10 +87,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
return
}
- if tmp == "/test" {
- writeFile(w, "test.html")
- return
- }
if tmp == "/goReference.svg" {
writeFile(w, "goReference.svg")
return
@@ -180,7 +172,7 @@ func badurl(w http.ResponseWriter, badurl string) {
fmt.Fprintln(w, " IPv4 IS NOT SUPPORTED<br>")
fmt.Fprintln(w, " MANY OF THESE REPOS REQUIRE IPv6.<br>")
fmt.Fprintln(w, " <br>")
- fmt.Fprintln(w, " bad url", badurl, "<a href=\"https://git.wit.org/\">redirecting</a>")
+ fmt.Fprintln(w, " bad url", badurl, "<a href=\"https://go.wit.com/\">redirecting</a>")
fmt.Fprintln(w, " </body>")
fmt.Fprintln(w, "</html>")
}