Skip to content

CORS issue using different local ports #5

@a1an77

Description

@a1an77

Just tried on a local geoserver instance and I get this CORS issue. Using such address with WMS TileLayers works without problems:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/geoserver/wfs?. This can be fixed by moving the resource to the same domain or enabling CORS.

Since the web content is on port 80, I need to specify the full address. Which seem to work fine with other layers. Any idea ho to solve or circumvent this issue at the plugin level (i.e. without enabling CORS?).

Request fails and I get the message at line 109 & 110 of current dist as output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions