mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 04:46:18 +02:00
zindex to moon
This commit is contained in:
@@ -15,11 +15,10 @@
|
||||
></video>
|
||||
<img src="" style="width: 100%" id="animations" class="fixed-bottom-left" />
|
||||
<qrcode
|
||||
style="width: 10%: z-index:9999"
|
||||
style="width: 10%; z-index: 9999"
|
||||
:value="{{copilot.lnurl}}"
|
||||
:options="{width: 800}"
|
||||
class="rounded-borders"
|
||||
class="fixed-top-right"
|
||||
class="rounded-borders fixed-top-right"
|
||||
></qrcode>
|
||||
<q-btn
|
||||
color="primary"
|
||||
@@ -85,9 +84,9 @@
|
||||
},
|
||||
created: function () {
|
||||
console.log('{{ copilot.id }}')
|
||||
if (location.protocol !== 'https:') {
|
||||
if (location.protocol !== 'http:') {
|
||||
this.connection = new WebSocket(
|
||||
'ws://' +
|
||||
'wss://' +
|
||||
document.domain +
|
||||
':' +
|
||||
location.port +
|
||||
@@ -95,7 +94,7 @@
|
||||
)
|
||||
} else {
|
||||
this.connection = new WebSocket(
|
||||
'wss://' +
|
||||
'ws://' +
|
||||
document.domain +
|
||||
':' +
|
||||
location.port +
|
||||
|
@@ -170,9 +170,9 @@
|
||||
created: function () {
|
||||
console.log('{{ copilot.id }}')
|
||||
|
||||
if (location.protocol !== 'https:') {
|
||||
if (location.protocol == 'https:') {
|
||||
this.connection = new WebSocket(
|
||||
'ws://' +
|
||||
'wss://' +
|
||||
document.domain +
|
||||
':' +
|
||||
location.port +
|
||||
@@ -180,7 +180,7 @@
|
||||
)
|
||||
} else {
|
||||
this.connection = new WebSocket(
|
||||
'wss://' +
|
||||
'ws://' +
|
||||
document.domain +
|
||||
':' +
|
||||
location.port +
|
||||
|
Reference in New Issue
Block a user