const http = { requestHttp: location.host.indexOf('localhost:8080')!=-1 || location.host.indexOf('localhost:8081')!=-1 || location.host.indexOf('192.168.5.177:8080')!=-1 || location.host.indexOf('192.168.5.177:8081')!=-1 ? 'http://192.168.5.171:8080' : '/api', token: `Bearer ${localStorage.getItem('token')}` } export default http