Skip to content

Commit

Permalink
enable swagger by default (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: Vritra <[email protected]>
  • Loading branch information
Vritra4 and Vritra authored May 7, 2024
1 parent 8fcb516 commit e91d2b0
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 @@ -41,6 +41,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 e91d2b0

Please sign in to comment.