removed withdraw from frontend

This commit is contained in:
benarc 2024-02-02 02:39:40 +00:00
parent 805003d08c
commit 020524dbd5
2 changed files with 5 additions and 13 deletions

View file

@ -427,7 +427,7 @@
} }
frame() frame()
}, },
connectWebocket(id) { connectWebocket(wallet_id) {
////////////////////////////////////////////////// //////////////////////////////////////////////////
///wait for pay action to happen and do a thing//// ///wait for pay action to happen and do a thing////
/////////////////////////////////////////////////// ///////////////////////////////////////////////////
@ -439,7 +439,7 @@
':' + ':' +
location.port + location.port +
'/api/v1/ws/' + '/api/v1/ws/' +
id wallet_id
} else { } else {
localUrl = localUrl =
'ws://' + 'ws://' +
@ -447,7 +447,7 @@
':' + ':' +
location.port + location.port +
'/api/v1/ws/' + '/api/v1/ws/' +
id wallet_id
} }
this.connection = new WebSocket(localUrl) this.connection = new WebSocket(localUrl)
this.connection.onmessage = function (e) { this.connection.onmessage = function (e) {

View file

@ -24,10 +24,6 @@
<q-btn outline style="color: primmary;" @click="qrValue = '{{ lnurlpay }}'">lnurlpay</q-btn> <q-btn outline style="color: primmary;" @click="qrValue = '{{ lnurlpay }}'">lnurlpay</q-btn>
</div> </div>
<div class="col col-md-auto">
<q-btn outline style="color: primmary;" @click="qrValue = '{{ lnurlwithdraw }}'">lnurlwithdraw</q-btn>
</div>
</div> </div>
</q-card> </q-card>
@ -108,17 +104,13 @@
if (location.protocol !== 'http:') { if (location.protocol !== 'http:') {
localUrl = localUrl =
'wss://' + 'wss://' +
document.domain + location.host +
':' +
location.port +
'/api/v1/ws/' + '/api/v1/ws/' +
id id
} else { } else {
localUrl = localUrl =
'ws://' + 'ws://' +
document.domain + location.host +
':' +
location.port +
'/api/v1/ws/' + '/api/v1/ws/' +
id id
} }