luci-app-aria2: fix http/https protocol when opening aria2 webUI 2363/head
authorZheng Qian <sotux82@gmail.com>
Mon, 10 Dec 2018 09:45:55 +0000 (17:45 +0800)
committerZheng Qian <sotux82@gmail.com>
Mon, 10 Dec 2018 09:45:55 +0000 (17:45 +0800)
commit4f11edadff3e7aa8775bb3917a1fed143d58e366
tree94f73e38b79b130beb72653344d6b50360b93cf1
parent1b26c91a085c68d628b3098e52e85fb5f30b9af0
luci-app-aria2: fix http/https protocol when opening aria2 webUI

In the openWebUI function, the url is assumed as http protocol,
this will cause problem when we login luci-admin with https.

The variable localhostPath has already contained http/https
protocol, so we can use it directly and add the path of aria2
webUI.

Signed-off-by: Zheng Qian <sotux82@gmail.com>
applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm