Add support for requesting ngrok remote address (#436)

This commit is contained in:
Geoff Bourne
2025-07-25 17:13:07 -06:00
committed by GitHub
parent c5c3fba846
commit 443beb2cce
4 changed files with 34 additions and 9 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ func NewServer(ctx context.Context, config *Config) (*Server, error) {
NewWebhookNotifier(config.Webhook.Url, config.Webhook.RequireUser))
}
if config.NgrokToken != "" {
connector.UseNgrok(config.NgrokToken)
if config.Ngrok.Token != "" {
connector.UseNgrok(config.Ngrok)
}
if config.ReceiveProxyProtocol {