djbristow/RAILS

IMAGE UPLOAD FAILURE

Closed this issue · 1 comments

Access to XMLHttpRequest at 'http://localhost:3003/uploadimg' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. NewImg.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options:85 failed to upload

Worked in previous version but when Several componets were upgraded it failed. Issue caused by a lack of CORS handling.