mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +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:
parent
eab4a91a9b
commit
61e5e6bc36
4 changed files with 1 additions and 4 deletions
|
@ -51,7 +51,6 @@ func readAuthHeader(c *fiber.Ctx) string {
|
|||
// @contact.url https://localai.io
|
||||
// @license.name MIT
|
||||
// @license.url https://raw.githubusercontent.com/mudler/LocalAI/master/LICENSE
|
||||
// @host localhost:8080
|
||||
// @BasePath /
|
||||
// @securityDefinitions.apikey BearerAuth
|
||||
// @in header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue