fixed swagger.json url

* the url to the swagger.json uses now the correct ip address.

see #225
This commit is contained in:
Bernhard B
2022-03-06 18:11:06 +01:00
parent f411b558a8
commit bede4bc022
4 changed files with 2 additions and 5 deletions

View File

@@ -1523,7 +1523,7 @@ type swaggerInfo struct {
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = swaggerInfo{
Version: "1.0",
Host: "127.0.0.1:8080",
Host: "",
BasePath: "/",
Schemes: []string{},
Title: "Signal Cli REST API",

View File

@@ -7,7 +7,6 @@
"license": {},
"version": "1.0"
},
"host": "127.0.0.1:8080",
"basePath": "/",
"paths": {
"/v1/about": {

View File

@@ -193,7 +193,6 @@ definitions:
status:
type: string
type: object
host: 127.0.0.1:8080
info:
contact: {}
description: This is the Signal Cli REST API documentation.