mirror of
https://github.com/eatfishfish/openpilot-server.git
synced 2026-08-22 04:42:32 +00:00
modified: frps.toml
modified: opserver.exe modified: opserver_linux_amd64 modified: static/index.html
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# frps.toml
|
# frps.toml
|
||||||
bindPort = 7888
|
bindPort = 7888
|
||||||
|
vhostHTTPPort = 1201
|
||||||
|
|
||||||
tcpmuxHTTPConnectPort = 5888
|
tcpmuxHTTPConnectPort = 5888
|
||||||
auth.method = "token"
|
auth.method = "token"
|
||||||
auth.token = "password"
|
auth.token = "password"
|
||||||
Binary file not shown.
Binary file not shown.
@@ -141,12 +141,22 @@
|
|||||||
function showLocation() {
|
function showLocation() {
|
||||||
did = localStorage.getItem("dongleId");
|
did = localStorage.getItem("dongleId");
|
||||||
url = "/replaygps/"+String(did)+"/"
|
url = "/replaygps/"+String(did)+"/"
|
||||||
|
|
||||||
|
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
url = url+date.getFullYear()+"-"+(date.getMonth() + 1).toString().padStart(2,'0')+"-"+date.getDate();
|
url = url+date.getFullYear()+"-"+(date.getMonth() + 1).toString().padStart(2,'0')+"-"+date.getDate();
|
||||||
console.log(url)
|
console.log(url)
|
||||||
window.location = url;
|
window.location = url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showSentry() {
|
||||||
|
did = localStorage.getItem("dongleId");
|
||||||
|
url = "FRP_SVR/"+String(did)
|
||||||
|
console.log(url)
|
||||||
|
window.location = url;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function recordOperationTime(){
|
function recordOperationTime(){
|
||||||
strSec = Math.floor(Date.now() / 1000)
|
strSec = Math.floor(Date.now() / 1000)
|
||||||
localStorage.setItem("operationTime", strSec)
|
localStorage.setItem("operationTime", strSec)
|
||||||
@@ -195,6 +205,8 @@
|
|||||||
<input type="button" value="Vod" class="button button1" onclick = "showVOD();" />
|
<input type="button" value="Vod" class="button button1" onclick = "showVOD();" />
|
||||||
|
|
||||||
<input type="button" value="Location" class="button button1" onclick = "showLocation();" />
|
<input type="button" value="Location" class="button button1" onclick = "showLocation();" />
|
||||||
|
|
||||||
|
<input type="button" value="Sentry" class="button button1" onclick = "showSentry();" />
|
||||||
</br></br>
|
</br></br>
|
||||||
<input type="button" value="Log" class="button button1" onclick = "showlog();" />
|
<input type="button" value="Log" class="button button1" onclick = "showlog();" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user