fix notification url
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
},
|
||||
"contributors": [],
|
||||
"scripts": {
|
||||
"start": "node dist/server.js",
|
||||
"build": "tsc",
|
||||
"generate-keys": "node src/generate-keys.ts",
|
||||
"test-send-notification": "node ./src/test-send-notification.js",
|
||||
|
||||
@@ -120,7 +120,7 @@ const start = async () => {
|
||||
requireInteraction: true,
|
||||
timestamp,
|
||||
data: {
|
||||
url: `/manage/${msgDoc.qr_code_uri}/chat/${msgDoc.chat}`,
|
||||
url: `/manage/${msgDoc.qr_code_uri}/chat/${msgDoc.chat}#message-${msgDoc.created_at}`,
|
||||
payload: { tag },
|
||||
},
|
||||
} as const;
|
||||
@@ -198,7 +198,7 @@ const start = async () => {
|
||||
requireInteraction: true,
|
||||
timestamp,
|
||||
data: {
|
||||
url: `/manage/${msgDoc.qr_code_uri}/chat/${msgDoc.chat}`,
|
||||
url: `/chat/${msgDoc.qr_code_uri}/${msgDoc.chat}#message-${msgDoc.created_at}`,
|
||||
payload: { tag },
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user