Merge pull request #24 from nostrband/develop

Save app url from referrer on connect request by bunker url
This commit is contained in:
Nostr.Band 2024-02-09 15:23:14 +03:00 committed by GitHub
commit 6589a98d52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ export const ModalConfirmConnect = () => {
if (selectedActionType === ACTION_TYPE.BASIC) perms = [ACTION_TYPE.BASIC]
if (pendingReqId) {
const options = { perms }
const options = { perms, appUrl }
await confirmPending(pendingReqId, true, true, options)
} else {
try {

View File

@ -661,7 +661,7 @@ export class NoauthBackend {
timestamp: Date.now(),
name: '',
icon: '',
url: '',
url: options.appUrl || '',
})
// reload