mirror of https://github.com/zulip/zulip.git
parent
cdd03dec4d
commit
0b88deb640
|
@ -42,6 +42,9 @@ connection = None
|
|||
# by the Dropbox certs (and have an app id of com.dropbox.zulip)
|
||||
dbx_connection = None
|
||||
|
||||
# `APNS_SANDBOX` should be a bool
|
||||
assert isinstance(settings.APNS_SANDBOX, bool)
|
||||
|
||||
def get_apns_key(token):
|
||||
return 'apns:' + token
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ S3_BUCKET="humbug-user-uploads"
|
|||
S3_AUTH_UPLOADS_BUCKET = "zulip-user-uploads"
|
||||
S3_AVATAR_BUCKET="humbug-user-avatars"
|
||||
|
||||
APNS_SANDBOX = "push_production"
|
||||
APNS_SANDBOX = False
|
||||
APNS_FEEDBACK = "feedback_production"
|
||||
APNS_CERT_FILE = "/etc/ssl/django-private/apns-dist.pem"
|
||||
DBX_APNS_CERT_FILE = "/etc/ssl/django-private/dbx-apns-dist.pem"
|
||||
|
|
Loading…
Reference in New Issue