diff options
Diffstat (limited to 'repoHTML.go')
| -rw-r--r-- | repoHTML.go | 24 |
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) { |
