From 46a3b300216bafa3dfb00299ccde930dc012e8a0 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 30 Jun 2017 12:36:02 -0400 Subject: [PATCH] FIX: omit the default port in the `Host` header --- app/jobs/regular/push_notification.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/jobs/regular/push_notification.rb b/app/jobs/regular/push_notification.rb index e07e5d59208..b719c3e65aa 100644 --- a/app/jobs/regular/push_notification.rb +++ b/app/jobs/regular/push_notification.rb @@ -22,6 +22,7 @@ module Jobs result = Excon.post(push_url, body: payload.merge(notifications: notifications).to_json, + omit_default_port: true, headers: { 'Content-Type' => 'application/json', 'Accept' => 'application/json' } )