Add ws link to curl examples (#3063)
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user