badgen.net/libs/axios.js

9 wiersze
135 B
JavaScript

const axios = require('axios')
module.exports = axios.create({
timeout: 12000,
headers: {
'Accept': 'application/json'
}
})