mirror of
https://github.com/ollama/ollama.git
synced 2025-09-13 23:11:33 +02:00
fix route
This commit is contained in:
@@ -147,7 +147,7 @@ func Serve(ln net.Listener) error {
|
||||
c.String(http.StatusOK, "Ollama is running")
|
||||
})
|
||||
|
||||
r.POST("api/pull", pull)
|
||||
r.POST("/api/pull", pull)
|
||||
r.POST("/api/generate", generate)
|
||||
|
||||
log.Printf("Listening on %s", ln.Addr())
|
||||
|
Reference in New Issue
Block a user