default /

This commit is contained in:
Regis David Souza Mesquita 2025-02-15 22:43:43 +00:00
parent 73d03c95e9
commit 8ae3995e49

View file

@ -387,7 +387,10 @@ func main() {
if *forwardUnknown {
forwardToOllama(w, r)
} else {
http.NotFound(w, r)
w.Header().Set("Content-Type", "text/plain")
w.WriteHeader(http.StatusOK)
w.Write([]byte("Ollama is running"))
return
}
})