format
This commit is contained in:
parent
0a210f766d
commit
ce82439fd8
1 changed files with 4 additions and 4 deletions
|
|
@ -466,12 +466,12 @@ new Vue({
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// BIP-21 support
|
// BIP-21 support
|
||||||
if(this.parse.data.request.toLowerCase().includes('lightning')){
|
if (this.parse.data.request.toLowerCase().includes('lightning')) {
|
||||||
this.parse.data.request = this.parse.data.request.split('lightning=')[1]
|
this.parse.data.request = this.parse.data.request.split('lightning=')[1]
|
||||||
|
|
||||||
// fail safe to check there's nothing after the lightning= part
|
// fail safe to check there's nothing after the lightning= part
|
||||||
if(this.parse.data.request.includes('&')){
|
if (this.parse.data.request.includes('&')) {
|
||||||
this.parse.data.request = this.parse.data.request.split('&')[0]
|
this.parse.data.request = this.parse.data.request.split('&')[0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue