|
|
@@ -167,7 +167,7 @@ export default {
|
|
|
function loadQR(text) {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
qrcode.toDataURL(
|
|
|
- `http://35.76.121.189/download.html?invitor=${userId}`,
|
|
|
+ `${location.origin}/download.html?invitor=${userId}`,
|
|
|
{ width: 335, height: 335, margin: 0 },
|
|
|
function (err, url) {
|
|
|
if (err) {
|