[Vuejs]-Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

0👍

You can add this line in default global config, global main js file or where you use axios call:

axios.defaults.headers.common['Access-Control-Allow-Origin'] = 'frontend.com';

Leave a comment