authorization: Bearer token
accept: application/json
accept-encoding: gzip, deflate
accept-language: en-US,en;q=0.8
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
{"error":"Unauthenticated."}
export const ipDomain = 'http://animeserver/'
// export const ipDomain = 'http://shelomanovdima.toprf.net/'
export const clientId = 1
export const clientSecret = 'shuEn7TZOoPDJpsr649GN0wrwchXCvlJWzj4tBM4'
export const getHeader = function() {
var tokenData = JSON.parse(window.localStorage.getItem('authUser'));
var header = {
'Accept': 'application/json',
'Authorization': 'Bearer ' + tokenData.access_token
}
return header;
}