A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal
20
const headers = {21
'content-type': 'application/json',22
}23
const deviceToken = localStorage.getItem('verbal-token');24
if(deviceToken) {25
headers['verbal-token'] = deviceToken;23
const token = localStorage.getItem('verbal-token') ?? 'test-token';24
if(token) {25
headers['verbal-token'] = token;26
}27
let body = null;28
let params = '';