onionr/static-data/www/onboarding/onboarding.js

8 lines
199 B
JavaScript

fetch('/getnewkeys', {
headers: {
"token": webpass
}})
.then((resp) => resp.text()) // Transform the data into text
.then(function(resp) {
keys = keys.split('')
})