mirror of https://github.com/fatedier/frp.git
dashboard: more params
This commit is contained in:
parent
96b94d9164
commit
2ffae3489b
|
@ -1 +1 @@
|
||||||
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>frps dashboard</title> <link rel="shortcut icon" href="favicon.ico"></head> <body> <div id=app></div> <script type="text/javascript" src="manifest.js?435cfd78dcd5256c2c54"></script><script type="text/javascript" src="vendor.js?c2d294f9c0a40fd7073a"></script><script type="text/javascript" src="index.js?62174b39217d6eeecb97"></script></body> </html>
|
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>frps dashboard</title> <link rel="shortcut icon" href="favicon.ico"></head> <body> <div id=app></div> <script type="text/javascript" src="manifest.js?33af4addd27a494b40c1"></script><script type="text/javascript" src="vendor.js?c2d294f9c0a40fd7073a"></script><script type="text/javascript" src="index.js?a0da222d4e0f906bc057"></script></body> </html>
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var i,a,f,l=0,s=[];l<t.length;l++)a=t[l],o[a]&&s.push(o[a][0]),o[a]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(r&&r(t,c,u);s.length;)s.shift()();if(u)for(l=0;l<u.length;l++)f=n(n.s=u[l]);return f};var t={},o={2:0};n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(a);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var c=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=c;var u=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+""+e+".js?"+{0:"62174b39217d6eeecb97",1:"c2d294f9c0a40fd7073a"}[e];var a=setTimeout(r,12e4);return i.onerror=i.onload=r,u.appendChild(i),c},n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
|
!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var u,i,f,l=0,s=[];l<t.length;l++)i=t[l],o[i]&&s.push(o[i][0]),o[i]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e[u]=c[u]);for(r&&r(t,c,a);s.length;)s.shift()();if(a)for(l=0;l<a.length;l++)f=n(n.s=a[l]);return f};var t={},o={2:0};n.e=function(e){function r(){u.onerror=u.onload=null,clearTimeout(i);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var c=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=c;var a=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,n.nc&&u.setAttribute("nonce",n.nc),u.src=n.p+""+e+".js?"+{0:"a0da222d4e0f906bc057",1:"c2d294f9c0a40fd7073a"}[e];var i=setTimeout(r,12e4);return u.onerror=u.onload=r,a.appendChild(u),c},n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
|
File diff suppressed because one or more lines are too long
|
@ -7,6 +7,12 @@
|
||||||
<el-form-item label="Version">
|
<el-form-item label="Version">
|
||||||
<span>{{ version }}</span>
|
<span>{{ version }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="BindPort">
|
||||||
|
<span>{{ bind_port }}</span>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="BindUdpPort">
|
||||||
|
<span>{{ bind_udp_port }}</span>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="Http Port">
|
<el-form-item label="Http Port">
|
||||||
<span>{{ vhost_http_port }}</span>
|
<span>{{ vhost_http_port }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -22,6 +28,9 @@
|
||||||
<el-form-item label="Max PoolCount">
|
<el-form-item label="Max PoolCount">
|
||||||
<span>{{ max_pool_count }}</span>
|
<span>{{ max_pool_count }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="Max Ports Per Client">
|
||||||
|
<span>{{ max_ports_per_client }}</span>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="HeartBeat Timeout">
|
<el-form-item label="HeartBeat Timeout">
|
||||||
<span>{{ heart_beat_timeout }}</span>
|
<span>{{ heart_beat_timeout }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -51,11 +60,14 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
version: '',
|
version: '',
|
||||||
|
bind_port: '',
|
||||||
|
bind_udp_port: '',
|
||||||
vhost_http_port: '',
|
vhost_http_port: '',
|
||||||
vhost_https_port: '',
|
vhost_https_port: '',
|
||||||
auth_timeout: '',
|
auth_timeout: '',
|
||||||
subdomain_host: '',
|
subdomain_host: '',
|
||||||
max_pool_count: '',
|
max_pool_count: '',
|
||||||
|
max_ports_per_client: '',
|
||||||
heart_beat_timeout: '',
|
heart_beat_timeout: '',
|
||||||
client_counts: '',
|
client_counts: '',
|
||||||
cur_conns: '',
|
cur_conns: '',
|
||||||
|
@ -75,6 +87,11 @@
|
||||||
return res.json()
|
return res.json()
|
||||||
}).then(json => {
|
}).then(json => {
|
||||||
this.version = json.version
|
this.version = json.version
|
||||||
|
this.bind_port = json.bind_port
|
||||||
|
this.bind_udp_port = json.bind_udp_port
|
||||||
|
if (this.bind_udp_port == 0) {
|
||||||
|
this.bind_udp_port = "disable"
|
||||||
|
}
|
||||||
this.vhost_http_port = json.vhost_http_port
|
this.vhost_http_port = json.vhost_http_port
|
||||||
if (this.vhost_http_port == 0) {
|
if (this.vhost_http_port == 0) {
|
||||||
this.vhost_http_port = "disable"
|
this.vhost_http_port = "disable"
|
||||||
|
@ -86,6 +103,10 @@
|
||||||
this.auth_timeout = json.auth_timeout
|
this.auth_timeout = json.auth_timeout
|
||||||
this.subdomain_host = json.subdomain_host
|
this.subdomain_host = json.subdomain_host
|
||||||
this.max_pool_count = json.max_pool_count
|
this.max_pool_count = json.max_pool_count
|
||||||
|
this.max_ports_per_client = json.max_ports_per_client
|
||||||
|
if (this.max_ports_per_client == 0) {
|
||||||
|
this.max_ports_per_client = "no limit"
|
||||||
|
}
|
||||||
this.heart_beat_timeout = json.heart_beat_timeout
|
this.heart_beat_timeout = json.heart_beat_timeout
|
||||||
this.client_counts = json.client_counts
|
this.client_counts = json.client_counts
|
||||||
this.cur_conns = json.cur_conns
|
this.cur_conns = json.cur_conns
|
||||||
|
|
Loading…
Reference in New Issue