debug
This commit is contained in:
parent
c6621ac5da
commit
277f311c7a
1 changed files with 2 additions and 6 deletions
|
|
@ -29,11 +29,7 @@ fetch('https://nmns.place/track?' + new URLSearchParams({
|
|||
hash: Cookies.get('nfcexplorer'),
|
||||
ua: ua,
|
||||
cat: cat
|
||||
})).then(response => {
|
||||
console.log(response.text())
|
||||
})).then(response => response.text().then((text) => {
|
||||
progress = document.querySelector('span#progress').content
|
||||
document.querySelector('span#progress').content = response
|
||||
})
|
||||
.catch(error => {
|
||||
// handle the error
|
||||
document.querySelector('span#progress').content = text
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue