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'),
|
hash: Cookies.get('nfcexplorer'),
|
||||||
ua: ua,
|
ua: ua,
|
||||||
cat: cat
|
cat: cat
|
||||||
})).then(response => {
|
})).then(response => response.text().then((text) => {
|
||||||
console.log(response.text())
|
|
||||||
progress = document.querySelector('span#progress').content
|
progress = document.querySelector('span#progress').content
|
||||||
document.querySelector('span#progress').content = response
|
document.querySelector('span#progress').content = text
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
// handle the error
|
|
||||||
});
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue