diff options
| author | Jeff Carr <[email protected]> | 2024-11-17 06:26:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-17 06:26:01 -0600 |
| commit | 014c9d5e3a408cb2b795acb994847b9b0a8b723a (patch) | |
| tree | 0cd8c41a5dff8098ccb658592b0f107e1b2a9ca6 /main.go | |
| parent | 47d10c231f09ee5d4dcb4e4c27c7f027c1f792ae (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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>") } |
