summaryrefslogtreecommitdiff
path: root/repoHTML.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 /repoHTML.go
parent47d10c231f09ee5d4dcb4e4c27c7f027c1f792ae (diff)
remove old git.wit.org referencesv0.22.9v0.22.8v0.22.7v0.22.6v0.22.10
Diffstat (limited to 'repoHTML.go')
-rw-r--r--repoHTML.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/repoHTML.go b/repoHTML.go
index 9985e19..3f69612 100644
--- a/repoHTML.go
+++ b/repoHTML.go
@@ -12,20 +12,6 @@ import (
"go.wit.com/log"
)
-/*
-<!DOCTYPE html>
-<html>
- <head>
- <meta name="go-import" content="go.wit.com/gui/gui git https://git.wit.org/gui/gui">
- <meta name="go-source" content="go.wit.com/gui/gui https://git.wit.org/gui/gui https://git.wit.org/gui/tree/master{/dir} https://git.wit.org/gui/gui/tree/master{/dir}/{file}#L{line}">
- <meta http-equiv="refresh" content="0; url=https://git.wit.org/gui/gui">
- </head>
- <body>
- Nothing to see here. Please <a href="https://git.wit.org/gui/gui">move along</a>.
- </body>
-</html>
-*/
-
func repoHTML(w http.ResponseWriter, gourl string, realurl string) {
realurl = "https://" + realurl
log.Info("go repo =", gourl, "real url =", realurl)
@@ -42,16 +28,6 @@ func repoHTML(w http.ResponseWriter, gourl string, realurl string) {
fmt.Fprintln(w, "Nothing to see here. Please <a href=\""+realurl+"\">move along</a>.\"")
fmt.Fprintln(w, "</body>")
fmt.Fprintln(w, "</html>")
-
- /*
- var tmp string
- tmp = r.URL.String()
- if tmp == "/gui" {
- findFile(w)
- return
- }
- fmt.Fprintln(w, "OK")
- */
}
func findkey(url string) (string, string) {