add interval refresh
This commit is contained in:
parent
32ddcdc269
commit
eb5d136207
@ -14,7 +14,7 @@ function setData(res) {
|
||||
dip_as_org.innerHTML = res["as"]["org"];
|
||||
}
|
||||
|
||||
function main() {
|
||||
function updateIP() {
|
||||
let ip = "";
|
||||
|
||||
if (window.location.pathname.length > 4) {
|
||||
@ -35,4 +35,4 @@ function main() {
|
||||
});
|
||||
}
|
||||
|
||||
main();
|
||||
setInterval(updateIP,1000);
|
||||
|
Loading…
Reference in New Issue
Block a user