Skip to content

Commit

Permalink
Remove obsolete constants (#317)
Browse files Browse the repository at this point in the history
The validation path prefix is likely now `zerosslHTTPValidationBasePath`, and the API base
here is broken (`"https://" + somethingThatIncludesHTTPSAsWell`).
  • Loading branch information
ankon authored Oct 30, 2024
1 parent 7afeaee commit 4c6eddc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions zerosslissuer.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,8 @@ func (iss *ZeroSSLIssuer) getDistributedValidationInfo(ctx context.Context, iden
}

const (
zerosslAPIBase = "https://" + zerossl.BaseURL + "/acme"
zerosslValidationPathPrefix = "/.well-known/pki-validation/"
zerosslIssuerKey = "zerossl"
defaultPollInterval = 5 * time.Second
zerosslIssuerKey = "zerossl"
defaultPollInterval = 5 * time.Second
)

// Interface guards
Expand Down

0 comments on commit 4c6eddc

Please sign in to comment.