mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-20 13:09:22 +00:00
fix blob serving for ko builds
This commit is contained in:
parent
423a1d5635
commit
9a27ab6101
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -49,7 +49,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||
case strings.HasPrefix(path, "ko/") && strings.Contains(path, "/manifests/"):
|
||||
serveKoManifest(w, r)
|
||||
case strings.HasPrefix(path, "random/blobs/"),
|
||||
strings.HasPrefix(path, "ko/blobs/"):
|
||||
strings.HasPrefix(path, "ko/") && strings.Contains(path, "/blobs/"):
|
||||
serveBlob(w, r)
|
||||
default:
|
||||
http.Error(w, "not found", http.StatusNotFound)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue