use originalUrl for path in chat key route

This resolves issue with invite arguments not showing up in QR:
https://github.com/status-im/universal-links-handler/issues/50

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-09-30 20:27:20 +02:00 committed by Jakub
parent 5fd8dd2466
commit 2ad999ff51

View File

@ -94,7 +94,7 @@ const handleChatKey = (req, res) => {
info: `Chat and transact with <span class="inline-block align-bottom w-32 truncate">${chatKey}</span> in Status.`, info: `Chat and transact with <span class="inline-block align-bottom w-32 truncate">${chatKey}</span> in Status.`,
mainTarget: chatKey, mainTarget: chatKey,
headerName: chatName, headerName: chatName,
path: `/u/${chatKey}`, path: req.originalUrl,
}) })
} }