vue-resource icon indicating copy to clipboard operation
vue-resource copied to clipboard

Failed to load https://enigmatic-shore-55329.herokuapp.com/posts: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:3000’ is therefore not allowed access. The response had HTTP status code 503. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

Open robsonpf opened this issue 6 years ago • 2 comments

Reproduction Link

Steps to reproduce

What is Expected?

What is actually happening?

robsonpf avatar May 16 '18 23:05 robsonpf

I'm trying to deploy my backend with heroku but getting complain about CORS disabled.

robsonpf avatar May 16 '18 23:05 robsonpf

Maybe try testing on axios (https://github.com/axios/axios). If axios works, its because of your server setup.

ericphamhoang avatar May 17 '18 03:05 ericphamhoang