add an api proxy url to access frp server info

This commit is contained in:
杨黄林
2023-09-09 20:46:54 +08:00
parent 4636bd7e9f
commit 3eca20e927
18 changed files with 110 additions and 63 deletions

View File

@@ -4,9 +4,9 @@
$.getJSON('/lang').done(function (lang) {
layui.element.on('nav(leftNav)', function (elem) {
if (elem.attr('id') === 'serverInfo') {
loadServerInfo(lang);
loadServerInfo(lang, elem.text().trim());
} else if (elem.attr('id') === 'userList') {
loadUserList(lang);
loadUserList(lang, elem.text().trim());
}
});