default /
This commit is contained in:
parent
73d03c95e9
commit
8ae3995e49
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue