Minor changes

This commit is contained in:
Yarmo Mackenbach 2020-10-25 01:02:21 +02:00
parent 2b22799fff
commit bdd918df4c

View file

@ -29,8 +29,8 @@ const processURI = (uri, opts) => {
uri: uri
},
proof: {
uri: 'XMPP_VCARD_SERVER_DOMAIN' in opts
? `https://${opts.XMPP_VCARD_SERVER_DOMAIN}/api/vcard/${output.display}/DESC`
uri: 'xmppVcardServerDomain' in opts
? `https://${opts.xmppVcardServerDomain}/api/vcard/${match[1]}@${match[2]}/DESC`
: null,
fetch: null,
useProxy: false,
@ -42,7 +42,7 @@ const processURI = (uri, opts) => {
path: [],
relation: 'contains'
},
qr: null
qr: uri
}
}