mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-13 12:38:11 +00:00
fix(swagger): do not specify a host (#1930)
In this way the requests are redirected to the host used by the client to perform the request.
This commit is contained in:
committed by
GitHub
parent
eab4a91a9b
commit
61e5e6bc36
@ -785,7 +785,7 @@ const docTemplate = `{
|
||||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||||
var SwaggerInfo = &swag.Spec{
|
||||
Version: "2.0.0",
|
||||
Host: "localhost:8080",
|
||||
Host: "",
|
||||
BasePath: "/",
|
||||
Schemes: []string{},
|
||||
Title: "LocalAI API",
|
||||
|
Reference in New Issue
Block a user