Skip to content

Commit

Permalink
Fixing push notificaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyhulen committed Feb 13, 2017
1 parent 1cfafed commit 3b4bfc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/notification.go
Expand Up @@ -535,7 +535,8 @@ func sendToPushProxy(msg model.PushNotification) *model.AppError {
msg.ServerId = utils.CfgDiagnosticId

tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: *utils.Cfg.ServiceSettings.EnableInsecureOutgoingConnections},
TLSClientConfig: &tls.Config{InsecureSkipVerify: *utils.Cfg.ServiceSettings.EnableInsecureOutgoingConnections},
DisableKeepAlives: true,
}
httpClient := &http.Client{Transport: tr}
request, _ := http.NewRequest("POST", *utils.Cfg.EmailSettings.PushNotificationServer+model.API_URL_SUFFIX_V1+"/send_push", strings.NewReader(msg.ToJson()))
Expand Down

0 comments on commit 3b4bfc1

Please sign in to comment.