modified: frps.toml
modified: opserver.exe modified: opserver_linux_amd64 modified: static/index.html
This commit is contained in:
parent
2224381508
commit
513711a901
|
@ -1,5 +1,7 @@
|
|||
# frps.toml
|
||||
bindPort = 7888
|
||||
vhostHTTPPort = 1201
|
||||
|
||||
tcpmuxHTTPConnectPort = 5888
|
||||
auth.method = "token"
|
||||
auth.token = "password"
|
BIN
opserver.exe
BIN
opserver.exe
Binary file not shown.
Binary file not shown.
|
@ -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 @@
|
|||
<input type="button" value="Vod" class="button button1" onclick = "showVOD();" />
|
||||
|
||||
<input type="button" value="Location" class="button button1" onclick = "showLocation();" />
|
||||
|
||||
<input type="button" value="Sentry" class="button button1" onclick = "showSentry();" />
|
||||
</br></br>
|
||||
<input type="button" value="Log" class="button button1" onclick = "showlog();" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue