Skip to content

Commit

Permalink
fix force redirect to localhost
Browse files Browse the repository at this point in the history
Signed-off-by: Issif <issif+github@gadz.org>
  • Loading branch information
Issif authored and poiana committed Jun 3, 2022
1 parent 28c18d1 commit e3ef80a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v2.0.2

* Fix force redirect to localhost

# v2.0.1

* Fix empty timelines
Expand Down
2 changes: 1 addition & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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: "<your-domain>:2802",
BasePath: "/api/v1",
Schemes: []string{"http"},
Title: "Falcosidekick UI",
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"version": "1.0"
},
"host": "localhost:2802",
"host": "\u003cyour-domain\u003e:2802",
"basePath": "/api/v1",
"paths": {
"/": {
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ definitions:
returned:
type: integer
type: object
host: localhost:2802
host: <your-domain>:2802
info:
contact:
email: cncf-falco-dev@lists.cncf.io
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func init() {

// @schemes http

// @host localhost:2802
// @host <your-domain>:2802
// @BasePath /api/v1
func main() {
e := echo.New()
Expand Down

0 comments on commit e3ef80a

Please sign in to comment.