axios Cross origin http://localhost forbidden code example
Example: axios Cross origin http://localhost forbidden
// add the following to avoid axios cross origin issues when in test
axios.defaults.adapter = require('axios/lib/adapters/http')
// add the following to avoid axios cross origin issues when in test
axios.defaults.adapter = require('axios/lib/adapters/http')