Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/soarca/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const banner = `
`

// @title SOARCA API
// @version 1.0.0
//
// @securityDefinitions.apikey BearerAuth
// @in header
Expand All @@ -58,8 +57,9 @@ func main() {
panic(err)
}

Host = fmt.Sprintf("localhost:%d", configuration.Static.Server.Port)
api.SwaggerInfo.Host = Host
api.SwaggerInfo.Version = Version
api.SwaggerInfo.Host = ""
api.SwaggerInfo.Schemes = nil

// Version is only available here
status.SetVersion(Version)
Expand Down
Loading