Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
christianfuerst opened this issue Apr 19, 2020 · 2 comments
Open

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

christianfuerst opened this issue Apr 19, 2020 · 2 comments

Comments

@christianfuerst
Copy link

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: *

@bflanagin
Copy link
Owner

bflanagin commented May 1, 2020

Strange, I thought I set this already. However, it might not matter much anymore as that endpoint is now officially dead due to things outside of our control.

http://api.openseed.solutions:8670/api

I'll be setting up nginx next week to restore the ssl encryption.

Let me know if that works for you. If so I'll close the ticket.

@bflanagin
Copy link
Owner

Also I'm working on the documentation and have it published here.

https://open-orchard.github.io/OpenSeed/docs/core/about

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants