修复打开FRPS按钮无法使用的问题
This commit is contained in:
parent
6cd534b30b
commit
c858ede656
@ -13,7 +13,7 @@ XHR.poll(3, '<%=url([[admin]], [[services]], [[frps]], [[status]])%>', null,
|
||||
);
|
||||
|
||||
function openwebui(){
|
||||
var url = window.location.host+":<%=luci.sys.exec("uci -q get frps.main.dashboard_port"):gsub("^%s*(.-)%s*$", "%1")%>";
|
||||
var url = window.location.host+":<%=luci.sys.exec("uci -q get frps.main.webserver_port"):gsub("^%s*(.-)%s*$", "%1")%>";
|
||||
window.open('http://'+url,'target','');
|
||||
}
|
||||
//]]>
|
||||
|
Loading…
Reference in New Issue
Block a user