From 423f2f3a16ee157bc8b302df9dfa6110ec4f926c Mon Sep 17 00:00:00 2001 From: "alexsanchez@beldex.io" Date: Thu, 28 Nov 2024 12:42:26 +0530 Subject: [PATCH] dummy notification server link remove. --- ts/bchat/apis/push_notification_api/PnServer.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ts/bchat/apis/push_notification_api/PnServer.ts b/ts/bchat/apis/push_notification_api/PnServer.ts index 29c7658f..0531b263 100644 --- a/ts/bchat/apis/push_notification_api/PnServer.ts +++ b/ts/bchat/apis/push_notification_api/PnServer.ts @@ -1,17 +1,11 @@ import { callUtilsWorker } from '../../../webworker/workers/util_worker_interface'; import { sendViaOnionToNonSnode } from '../../onions/onionSend'; -// const pnServerPubkeyHex = '54e8ce6a688f6decd414350408cae373ab6070d91d4512e17454d2470c7cf911'; +const pnServerPubkeyHex = '54e8ce6a688f6decd414350408cae373ab6070d91d4512e17454d2470c7cf911'; -// export const hrefPnServerProd = 'notification.rpcnode.stream'; - -// export const hrefPnServerDev = 'notification.rpcnode.stream'; -const pnServerPubkeyHex = '589f8d0d376933e6a48266423235f323dfa4eb4179903314cf5dfb30d6cf794a'; - -export const hrefPnServerProd = '3.108.79.216:5000'; - -export const hrefPnServerDev = '3.108.79.216:5000'; +export const hrefPnServerProd = 'notification.rpcnode.stream'; +export const hrefPnServerDev = 'notification.rpcnode.stream'; const pnServerUrl = `http://${hrefPnServerProd}`; export async function notifyPnServer(wrappedEnvelope: ArrayBuffer, sentTo: string) {