Skip to content

0.2 Fix CORS & publish to Github Pages

Latest
Compare
Choose a tag to compare
@berezovskyi berezovskyi released this 12 Jul 20:07
· 1 commit to main since this release
2ab749f
Fix authenticated CORS requests (#36)

* refactor: switch from the deprecated request package to std fetch()
* fix: add some heuristics for RDF fetching
  - non-localhost URIs get upgraded to HTTPS
  - CORS failing requests get retried with a CORS proxy without credentials
  - requests URIs ending with .ttl are parsed as Turtle not RDF/XML
* fix: update OSLC links

Signed-off-by: Andrew Berezovskyi <andriib@kth.se>