Skip to content

Add Access-Control-Allow-Origin header to responses #41

@christianfuerst

Description

@christianfuerst

Problem:
In it's current state, it's not possible to make https request from a wep app to the OpenSeed server.
Access to XMLHttpRequest at 'https://api.openseed.solutions/testing' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Possible solution:
In order to allow https requests from browsers the server should respond with an "Access-Control-Allow-Origin" header information like this: Access-Control-Allow-Origin: *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions