luci-base: don't append object.method to the RPC url
authorRafał Miłecki <rafal@milecki.pl>
Wed, 23 Sep 2020 11:57:30 +0000 (13:57 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 23 Sep 2020 14:54:18 +0000 (16:54 +0200)
commitb17ec0926d9519da7d5cd22a60c05c93bcc8292c
treef17526e5a6107a951b5a8887c347f97930eae206
parent6044084a61cdd95e390002cc6a908b33185d457d
luci-base: don't append object.method to the RPC url

It was a cosmetic feature that doesn't work anymore with the latest
uhttpd ubus API. Adding RESTful API resulted in treating URL part
following the /ubus/ as the new API request.

Suggested-by: Rafał Miłecki <rafal@milecki.pl>
Fixes: #4465
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/rpc.js