Add ws link to curl examples (#3063)

This commit is contained in:
Arc
2025-03-31 12:58:26 +03:00
committed by GitHub
parent 681730a4af
commit 0c76efa2b9
4 changed files with 51 additions and 10 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -568,5 +568,6 @@ window.localisation.en = {
view_list: 'View wallets as list',
view_column: 'View wallets as rows',
filter_payments: 'Filter payments',
filter_date: 'Filter by date'
filter_date: 'Filter by date',
websocket_example: 'Websocket example'
}
+1
View File
@@ -4,6 +4,7 @@ window.WalletPageLogic = {
return {
origin: window.location.origin,
baseUrl: `${window.location.protocol}//${window.location.host}/`,
websocketUrl: `${'http:' ? 'ws://' : 'wss://'}${window.location.host}/api/v1/ws`,
parse: {
show: false,
invoice: null,