Add rpc suffix to URL for RPC call

This commit is contained in:
Cédric Krier
2023-11-12 23:43:19 +01:00
parent 7e068856e9
commit dbe5c74cb6
6 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -178,7 +178,7 @@
'params': params
})),
'dataType': 'json',
'url': (session.database || '.') + '/#' + args.method,
'url': (session.database || '.') + '/rpc/#' + args.method,
'type': 'post',
'complete': [function() {
Sao.common.processing.hide(timeoutID);
+3 -3
View File
@@ -189,7 +189,7 @@
'params': []
}),
'dataType': 'json',
'url': '.',
'url': 'rpc/',
'type': 'post',
'complete': [function() {
Sao.common.processing.hide(timeoutID);
@@ -602,7 +602,7 @@
'params': []
}),
'dataType': 'json',
'url': '.',
'url': 'rpc/',
'type': 'post',
'complete': [function() {
Sao.common.processing.hide(timeoutID);
@@ -624,7 +624,7 @@
'params': []
}),
'dataType': 'json',
'url': '.',
'url': 'rpc/',
'type': 'post',
'complete': [function() {
Sao.common.processing.hide(timeoutID);