datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
14 stars 12 forks source link

Allow serving catalog from a path relative to server root #478

Closed jsheunis closed 3 weeks ago

jsheunis commented 3 weeks ago

This aims to address https://github.com/datalad/datalad-catalog/issues/443

This change across several files allows to serve a catalog e.g. from http://localhost:8000/subdir/mycatalog with the mycatalog directory containing all necessary components of the catalog, such as assets, metadata, etc. The changes involved:

The last point implies that any server using a catalog location that is different from and relative to the base path will have to change their redirect rules to accommodate the relative portion.

Lastly, some metadata that was found to be faulty during testing was updated.

netlify[bot] commented 3 weeks ago

Deploy Preview for datalad-catalog canceled.

Name Link
Latest commit a19a6313af9324efd8e41146cc6de84815e652f8
Latest deploy log https://app.netlify.com/sites/datalad-catalog/deploys/6668bd77cfc91a00087a8470