Skip to content

CORS headers not set on NameRes ES CI #8

@gaurav

Description

@gaurav

This means that I can't test it from the browser in e.g. https://translatorsri.github.io/babel-explorer/nodenorm/

I think we'll eventually need to be able to make cross-site calls to it so that the UI can call it from e.g. https://ui.ci.transltr.io/

Here's what that looks like for NameRes Solr:

$ curl -vvv https://name-lookup.ci.transltr.io/lookup\?string\=diabetes\&limit\=5\&autocomplete\=true\&biolink_type\=DiseaseOrPhenotypicFeature\&only_prefixes\=MONDO%7CHP -H "Origin: https://translatorsri.github.io" 2>&1 | grep -i "access-control-allow-origin"
< access-control-allow-origin: https://translatorsri.github.io

Metadata

Metadata

Assignees

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