Sha256: 10689b8b0c0b3bd2c605f145de750148b6f1982ead3ff51ff71cd9324e6bd68e

Contents?: true

Size: 354 Bytes

Versions: 16

Compression:

Stored size: 354 Bytes

Contents

import axios from 'axios';
import app from '../configs/app';
axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';

export default new axios.create({
	baseURL: app.host,
	headers: {
			'X-Requested-With': 'XMLHttpRequest'
		
	}
// 		'X-Requested-With': 'XMLHttpRequest',
// 		Authorization: 'Bearer ' + localStorage.access_token,
// 	}
})

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ilog-0.4.9 src/vue/configs/axios.js
ilog-0.4.8 src/vue/configs/axios.js
ilog-0.4.7 src/vue/configs/axios.js
ilog-0.4.6 src/vue/configs/axios.js
ilog-0.4.5 src/vue/configs/axios.js
ilog-0.4.4 src/vue/configs/axios.js
ilog-0.4.3 src/vue/configs/axios.js
ilog-0.4.2 src/vue/configs/axios.js
ilog-0.4.1 src/vue/configs/axios.js
ilog-0.4.0 src/vue/configs/axios.js
ilog-0.3.3 src/vue/configs/axios.js
ilog-0.3.1 src/vue/configs/axios.js
ilog-0.3.0 src/vue/configs/axios.js
ilog-0.2.2 src/vue/configs/axios.js
ilog-0.2.1 src/vue/configs/axios.js
ilog-0.2.0 src/vue/configs/axios.js