summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ocserv/luasrc/view
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-08-06 16:03:05 +0200
committerFlorian Eckert <fe@dev.tdt.de>2019-08-06 16:23:08 +0200
commit7af8043a75ccf49c3e976984a4b10812e25d115f (patch)
treefe634e5fe9ec5b90ed173aaf19278043fd39a669 /applications/luci-app-ocserv/luasrc/view
parenta63b465adb8ede7b62f60285b8cd30daa5e4afd0 (diff)
luci-app-ocserv: move to new vpn menu section
Move the app ocserv to the new vpn menu section. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-ocserv/luasrc/view')
-rw-r--r--applications/luci-app-ocserv/luasrc/view/ocserv_status.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm b/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm
index 9c69514b95..d00084a0bc 100644
--- a/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm
+++ b/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm
@@ -1,7 +1,7 @@
<script type="text/javascript">//<![CDATA[
function ocserv_disconnect(idx) {
- (new XHR()).post('<%=url('admin/services/ocserv/disconnect')%>/' + idx, { token: '<%=token%>' },
+ (new XHR()).post('<%=url('admin/vpn/ocserv/disconnect')%>/' + idx, { token: '<%=token%>' },
function(x)
{
var tb = document.getElementById('ocserv_status_table');
@@ -11,7 +11,7 @@
);
}
- XHR.poll(-1, '<%=url('admin/services/ocserv/status')%>', null,
+ XHR.poll(-1, '<%=url('admin/vpn/ocserv/status')%>', null,
function(x, st)
{
var tb = document.getElementById('ocserv_status_table');