diff --git a/swagger.go b/swagger.go index 98bf764..3b580ce 100644 --- a/swagger.go +++ b/swagger.go @@ -22,7 +22,7 @@ var ( Version: "v1", }, Servers: []*spec.Server{ - {URL: "/", Description: "Current bot instance"}, + {URL: "./", Description: "Current bot instance"}, }, Paths: make(spec.Paths), Components: &spec.Components{ diff --git a/swagger.html b/swagger.html index af43b52..ba91d5d 100644 --- a/swagger.html +++ b/swagger.html @@ -14,7 +14,7 @@ // Begin Swagger UI call region const ui = SwaggerUIBundle({ - urls: [{ name: 'Bot-API specification', url: '/openapi.json' }], + urls: [{ name: 'Bot-API specification', url: 'openapi.json' }], "dom_id": "#swagger-ui", deepLinking: true, presets: [