Skip to content

Commit

Permalink
Review app url sent to webhook prefixed with https
Browse files Browse the repository at this point in the history
  • Loading branch information
wille committed Jul 31, 2024
1 parent c41d4d9 commit cea253b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/webhook/webhook_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ func (wh WebhookServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}

deploymentUrl = "https://" + deploymentUrl
log.Info("Review App URL", "url", deploymentUrl)

// Only return the "primary" host URL for now.
// If you have multiple hostnames for a deployment, like when a container
// is serving multiple websites and you need to rely on the Host header,
Expand Down

0 comments on commit cea253b

Please sign in to comment.