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