pagekit / vue-resource

The HTTP client for Vue.js
MIT License
10.08k stars 1.6k forks source link

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. #693

Open robsonpf opened 6 years ago

robsonpf commented 6 years ago

Reproduction Link

Steps to reproduce

What is Expected?

What is actually happening?

robsonpf commented 6 years ago

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

ericphamhoang commented 6 years ago

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