From 35449a090d16ea7e09301b9352dca7fa91e1d7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Tue, 5 Aug 2025 14:52:02 +0200 Subject: [PATCH] update swagger host --- cmd/api/swagger.go | 2 +- swagger/docs.go | 2 +- swagger/swagger.json | 2 +- swagger/swagger.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/api/swagger.go b/cmd/api/swagger.go index 470c6b6..87e26b6 100644 --- a/cmd/api/swagger.go +++ b/cmd/api/swagger.go @@ -10,7 +10,7 @@ // @license.name MIT // @license.url https://opensource.org/licenses/MIT // -// @host https://acc.jurmanovic.com +// @host acc.jurmanovic.com // @BasePath /v1 // @schemes http https // diff --git a/swagger/docs.go b/swagger/docs.go index f1b5094..933a4dd 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -1979,7 +1979,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", - Host: "https://acc.jurmanovic.com", + Host: "acc.jurmanovic.com", BasePath: "/v1", Schemes: []string{"http", "https"}, Title: "ACC Server Manager API", diff --git a/swagger/swagger.json b/swagger/swagger.json index 36df009..d048fcb 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -17,7 +17,7 @@ }, "version": "1.0" }, - "host": "https://acc.jurmanovic.com", + "host": "acc.jurmanovic.com", "basePath": "/v1", "paths": { "/api/server": { diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 3785786..bdfb2d6 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -112,7 +112,7 @@ definitions: username: type: string type: object -host: https://acc.jurmanovic.com +host: acc.jurmanovic.com info: contact: name: ACC Server Manager Support