1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-19 07:09:18 +00:00

handle mirror.kontain.me/mirror.kontain.me/...

This commit is contained in:
Jason Hall 2020-10-10 20:47:42 -04:00
parent e62876cd92
commit 1f0dd6c72e
3 changed files with 26 additions and 27 deletions

View file

@ -112,7 +112,7 @@ func (s *server) serveKoManifest(w http.ResponseWriter, r *http.Request) {
}
ip = build.StrictScheme + ip
if !g.IsSupportedReference(ip) {
s.error.Printf("ERROR (IsSupportedReference): %s", err)
s.error.Printf("ERROR (IsSupportedReference(%q)): false", ip)
serve.Error(w, serve.ErrInvalid)
return
}