diff --git a/frps.toml b/frps.toml index 0e7aa04..c75d6fa 100644 --- a/frps.toml +++ b/frps.toml @@ -1,5 +1,7 @@ # frps.toml bindPort = 7888 +vhostHTTPPort = 1201 + tcpmuxHTTPConnectPort = 5888 auth.method = "token" auth.token = "password" \ No newline at end of file diff --git a/opserver.exe b/opserver.exe index ff5c1d4..22407f9 100644 Binary files a/opserver.exe and b/opserver.exe differ diff --git a/opserver_linux_amd64 b/opserver_linux_amd64 index 5d04003..1fc1d18 100755 Binary files a/opserver_linux_amd64 and b/opserver_linux_amd64 differ diff --git a/static/index.html b/static/index.html index 5f53e43..28e8d41 100644 --- a/static/index.html +++ b/static/index.html @@ -141,12 +141,22 @@ function showLocation() { did = localStorage.getItem("dongleId"); url = "/replaygps/"+String(did)+"/" + + var date = new Date(); url = url+date.getFullYear()+"-"+(date.getMonth() + 1).toString().padStart(2,'0')+"-"+date.getDate(); console.log(url) window.location = url; } + function showSentry() { + did = localStorage.getItem("dongleId"); + url = "FRP_SVR/"+String(did) + console.log(url) + window.location = url; + } + + function recordOperationTime(){ strSec = Math.floor(Date.now() / 1000) localStorage.setItem("operationTime", strSec) @@ -195,6 +205,8 @@    +    +