pagekit / vue-resource

The HTTP client for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

robsonpf opened this issue · comments

Reproduction Link

Steps to reproduce

What is Expected?

What is actually happening?

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

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