Skip to content

Commit

Permalink
update configuration settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmv committed Feb 4, 2025
1 parent 959284a commit 1097f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func New(cfg *conf.Config, log *zap.Logger, database *db.DB) (*API, error) {
oa2Prov := &auth.Provider{Disabled: true}

var hostURI string
if !cfg.AuthenticationDisabled {
if !cfg.AuthenticationDisabled { //nolint:nestif
if cfg.Port == "443" || cfg.Port == "80" {
hostURI = cfg.Hostname
} else {
Expand Down

0 comments on commit 1097f12

Please sign in to comment.