Skip to content
Snippets Groups Projects
Commit f4be162b authored by 심재엽's avatar 심재엽
Browse files

refactor: 푸시 알림 클릭시 경로 수정

parent 2f370978
No related branches found
No related tags found
1 merge request!43배포코드 master브랜치로
......@@ -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' } } },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment