Added description for the websocket on the shareable page

This commit is contained in:
benarc 2024-05-31 17:01:35 +01:00
parent 16c52973eb
commit b2e6f4f0cf

View file

@ -26,11 +26,11 @@
<q-card-section> <q-card-section>
<h6 class="text-subtitle1 q-mb-sm q-mt-none">Public page</h6> <h6 class="text-subtitle1 q-mb-sm q-mt-none">Public page</h6>
<p class="q-my-none"> <p class="q-my-none">
Moat extensions have a public page that can be shared Most extensions have a public page that can be shared
(this page will still be accessible even if you have restricted (this page will still be accessible even if you have restricted
access to your LNbits install). access to your LNbits install).
<br /><br /> <br /><br />
In this example when a user pays the LNURLpay it triggers an event via a websocket waiting for the payment. In this example when a user pays the LNURLpay it triggers an event via a websocket waiting for the payment, which you can subscribe to somewhere using wss://{your-lnbits}/api/v1/ws/{the-id-of-this-record}
</p>.</p> </p>.</p>
</q-card-section> </q-card-section>
<q-card-section class="q-pa-none"> <q-card-section class="q-pa-none">