Skip to content

Commit

Permalink
Improving documentation to ensure people don't fall into the trap of …
Browse files Browse the repository at this point in the history
…having URLs without schema and a base path.
  • Loading branch information
marcusvnac committed Nov 22, 2024
1 parent d954f2c commit ec44152
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions provider/verify_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ type Hook func() error
// VerifyRequest contains the verification params.
type VerifyRequest struct {
// Default URL to hit during provider verification.
//
// If your URL has a base path, make sure the URL includes the schema.
// Otherwise, the [net/url] package will consider it as opaque, and the base path will be lost when the URL is parsed.
ProviderBaseURL string

// Specify one or more additional transports to communicate to the given provider
Expand Down

0 comments on commit ec44152

Please sign in to comment.