diff --git a/pushServer.js b/pushServer.js index 76d593d7a5375a3d4278c06a6b7eabf6e29a7093..b57e92dae5da5eb4d37d6e73390a158f70198e90 100644 --- a/pushServer.js +++ b/pushServer.js @@ -42,7 +42,7 @@ async function startPushServer() { body: `${sender}: ${messageContent}`, }, data: { - click_action: `http://localhost:3000/chat/chatRoom/${chatRoomId}`, // �대┃ �� �대룞�� URL + click_action: `${process.env.FRONT_URL}/chat/chatRoom/${chatRoomId}`, // �대┃ �� �대룞�� URL }, android: { priority: 'high' }, apns: { payload: { aps: { sound: 'default' } } }, @@ -84,7 +84,7 @@ async function startPushServer() { body: `${inviterName}�섏씠 ${meetingTitle} 紐⑥엫�� 珥덈��덉뒿�덈떎.`, }, data: { - click_action: `http://localhost:3000`, // �대┃ �� �대룞�� URL + click_action: `${process.env.FRONT_URL}/meeting`, // �대┃ �� �대룞�� URL }, android: { priority: 'high' }, apns: { payload: { aps: { sound: 'default' } } },