Skip to content

Commit

Permalink
Merge pull request #41 from initia-labs/swagger-by-default
Browse files Browse the repository at this point in the history
enable swagger by default
  • Loading branch information
beer-1 authored May 7, 2024
2 parents 32de18e + 5a011c2 commit 53227fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/minitiad/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func initAppConfig() (string, interface{}) {

// Enable API and unsafe CORS (CORS allowed from any host)
srvCfg.API.Enable = true
srvCfg.API.Swagger = true
srvCfg.API.EnableUnsafeCORS = true
srvCfg.API.Address = "tcp://0.0.0.0:1317"

Expand Down

0 comments on commit 53227fa

Please sign in to comment.