fix notification url

This commit is contained in:
2024-12-02 11:02:58 +02:00
parent 56f4341cd8
commit 99f9d0db75
2 changed files with 3 additions and 2 deletions
@@ -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;