Merge pull request #21 from nostrband/develop

Add referrer log
This commit is contained in:
Nostr.Band 2024-02-08 21:01:47 +03:00 committed by GitHub
commit 063213cb89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,7 @@ export const ModalConfirmConnect = () => {
const { name, url = '', icon = '' } = triggerApp || {}
let appUrl = url || searchParams.get('appUrl') || ''
console.log("referrer", window.document.referrer, appUrl)
if (!appUrl && window.document.referrer) {
try {
const u = new URL(window.document.referrer)