From 5f93760804a8ddc644a32f961d6b4398509a8055 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Mon, 14 Nov 2022 14:57:59 +0100 Subject: [PATCH] added apns priority --- backend/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/index.js b/backend/index.js index 459df74..75817a4 100644 --- a/backend/index.js +++ b/backend/index.js @@ -139,6 +139,11 @@ app.post('/sendmessage', async (req, res) => { body: body }, topic: 'all', + apns: { + headers: { + 'apns-push-type': 'alert' + } + } };