Skip to content

Ionic 2 No 'Access-Control-Allow-Origin' header is present #4

@rabernet

Description

@rabernet

Why i test my app in heroku node.js socket.io basic conection.

But in angular 1, angular 2, Ionic 2.

Appear:
XMLHttpRequest cannot load https://xxxxxx.herokuapp.com//socket.io/?EIO=3&transport=polling&t=LinPHk2. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:XXXX' is therefore not allowed access.
No 'Access-Control-Allow-Origin' header is present

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions