ternaustralia / linkeddata-site

TERN's Linked Data services website.
https://linkeddata.tern.org.au
0 stars 2 forks source link

Deploy cors-anywhere on TERN infrastructure #8

Closed edmondchuc closed 2 years ago

edmondchuc commented 3 years ago

There are some issues with CORS with some of the external servers we depend on, e.g. AGLDWG PID redirect server. They don't forward the CORS headers and so some AJAX requests get blocked by the browser. In the meantime, we are using https://cors-anywhere.edmondchuc.com, but it'd be better if we deploy a copy of this in the TERN infrastructure.

CORS Anywhere by Rob Wu - https://github.com/Rob--W/cors-anywhere Forked version with some docker stuff - https://github.com/edmondchuc/cors-anywhere

edmondchuc commented 2 years ago

This is no longer applicable. As we migrate more of the code to the backend service https://github.com/ternaustralia/linkeddata-api, we won't need to use cors-anywhere anymore.