diff --git a/server.go b/server.go index 0da466a7..eca93e9a 100644 --- a/server.go +++ b/server.go @@ -289,7 +289,7 @@ func runBarkServer() { TeamID: "5U8LBRXG3A", } - apnsClient = apns2.NewTokenClient(clientToken) + apnsClient = apns2.NewTokenClient(clientToken).Production() addr := fmt.Sprint(listenAddr, ":", listenPort) logrus.Info("Serving HTTP on " + addr)