mirror of
https://github.com/cloudstack-llc/ollama.git
synced 2026-07-21 01:55:23 -04:00
fix route
This commit is contained in:
+1
-1
@@ -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