Sydney-Informatics-Hub / observable-crate

Experimenting with using Observable Framework on an RO-Crate
0 stars 0 forks source link

Work out how static crate assets like images should work #39

Open spikelynch opened 6 days ago

spikelynch commented 6 days ago

The crate is somewhere the data loader can see it to build the sqlite version, but the images and other static assets need to be copied across to the web dist

spikelynch commented 2 days ago

Steps to get a static file across to the distribution

So for example if there's a file in

/data/crates/my_crate/images/blah.png

The value "/data/crates/my_crate/images/blah.png" needs to be the dynamicPaths list, and the image will be available on the URL:

/_file/data/crates/my_crate/images/blah.png
spikelynch commented 2 days ago

This isn't working