Skip to content

Commit 1f93217

Browse files
committed
Add docker's vnd gguf mt
1 parent 64acb22 commit 1f93217

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/explore/explore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ func (h *handler) renderFS(w http.ResponseWriter, r *http.Request) error {
11241124
}
11251125
defer blob.Close()
11261126

1127-
if mt == "application/vnd.ollama.image.model" {
1127+
if mt == "application/vnd.ollama.image.model" || mt == "application/vnd.docker.ai.gguf.v3" {
11281128
w.Header().Set("Content-Type", "text/html; charset=utf-8")
11291129
if err := headerTmpl.Execute(w, TitleData{dig.String()}); err != nil {
11301130
return err

0 commit comments

Comments
 (0)