diff --git a/CHANGELOG.md b/CHANGELOG.md index 437af56..3567135 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v2.0.2 + +* Fix force redirect to localhost + # v2.0.1 * Fix empty timelines diff --git a/docs/docs.go b/docs/docs.go index 7ae2190..5706d34 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -526,7 +526,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", - Host: "localhost:2802", + Host: ":2802", BasePath: "/api/v1", Schemes: []string{"http"}, Title: "Falcosidekick UI", diff --git a/docs/swagger.json b/docs/swagger.json index bbb9aae..d36d677 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -23,7 +23,7 @@ }, "version": "1.0" }, - "host": "localhost:2802", + "host": "\u003cyour-domain\u003e:2802", "basePath": "/api/v1", "paths": { "/": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 67ebd98..733bb6a 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -100,7 +100,7 @@ definitions: returned: type: integer type: object -host: localhost:2802 +host: :2802 info: contact: email: cncf-falco-dev@lists.cncf.io diff --git a/main.go b/main.go index 7796405..5f7c885 100644 --- a/main.go +++ b/main.go @@ -84,7 +84,7 @@ func init() { // @schemes http -// @host localhost:2802 +// @host :2802 // @BasePath /api/v1 func main() { e := echo.New()