Skip to content

Commit

Permalink
[api] fixup config
Browse files Browse the repository at this point in the history
API needs the schema location
  • Loading branch information
jbygdell committed Aug 13, 2024
1 parent 5d2e781 commit 4372d29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sda/internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ func NewConfig(app string) (*Config, error) {
if viper.IsSet("admin.users") {
c.API.Admins = append(c.API.Admins, strings.Split(string(viper.GetString("admin.users")), ",")...)
}
c.configSchemas()
case "auth":
c.Auth.Cega.AuthURL = viper.GetString("auth.cega.authUrl")
c.Auth.Cega.ID = viper.GetString("auth.cega.id")
Expand Down

0 comments on commit 4372d29

Please sign in to comment.