mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-07 03:18:10 +02:00
format
This commit is contained in:
parent
0a210f766d
commit
ce82439fd8
@ -466,12 +466,12 @@ new Vue({
|
||||
return
|
||||
}
|
||||
|
||||
// BIP-21 support
|
||||
if(this.parse.data.request.toLowerCase().includes('lightning')){
|
||||
// BIP-21 support
|
||||
if (this.parse.data.request.toLowerCase().includes('lightning')) {
|
||||
this.parse.data.request = this.parse.data.request.split('lightning=')[1]
|
||||
|
||||
|
||||
// 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]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user