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

chore: set ALLOW ORIGIN HEADER on identifier #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sergiofenoll
Copy link
Member

This makes CORS work when e.g. reaching the SPARQL endpoint from a Yasgui instance (like the one hosted by redpencil).

We could also add this header ONLY to the SPARQL endpoint in the dispatcher but I'm not sure that that's valuable (i.e. we're not doing anything wrong by setting it for the whole app, I think).

This makes CORS work when e.g. reaching the SPARQL endpoint from a Yasgui instance (like [the one hosted by redpencil](https://yasgui.tools.redpencil.io/)).

We could also add this header ONLY to the SPARQL endpoint in the dispatcher but I'm not sure that that's valuable (i.e. we're not doing anything wrong by setting it for the whole app, I think).
@sergiofenoll
Copy link
Member Author

Tested on Themis test (kal-loebas) that this actually works for Yasgui.

@ValenberghsSven
Copy link
Contributor

@sergiofenoll we have to do a release soon with the new government domains.
Do you want to include this? fine for me, not sure if you wanted to wait for input from Michaël.

@sergiofenoll
Copy link
Member Author

@ValenberghsSven I would be inclined to include it, but it's not blocking and releasing this is just docker compose up identifier so if it lingers for a bit I don't think it would be a problem. Not sure if Michaël will have extra input though.

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

Successfully merging this pull request may close these issues.

2 participants