Switch to production APN endpoint.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2014-11-27 16:25:02 -08:00
parent 8a2131416d
commit 4fab67b0f5
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ public class APNSender implements Managed {
this.apnService = Optional.of(APNS.newService()
.withCert(new ByteArrayInputStream(keyStore), "insecure")
.asQueued()
.withSandboxDestination().build());
.withProductionDestination().build());
this.executor.scheduleAtFixedRate(new FeedbackRunnable(), 0, 1, TimeUnit.HOURS);
} else {