Retrieve data (#10)

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2 2 years ago
parent f180afc5a9
commit 6b06a1731b
  1. 3
      sitefiles/arcade.html

@ -17,7 +17,8 @@ $SITENAME
fetch(location).then((data)=>data.text()) fetch(location).then((data)=>data.text())
.then((data)=>{ .then((data)=>{
var c = document.getElementById(field) var c = document.getElementById(field)
c.innerHTML=data var split = data.split("\n")
c.innerHTML=split
}) })
} }
function recentPlays(){ function recentPlays(){

Loading…
Cancel
Save