hubmapconsortium / hra-ui

HRA UIs Monorepo (includes HRA Portal, EUI, RUI, ASCT+B Reporter, and more)
https://hubmapconsortium.github.io/hra-ui/
MIT License
3 stars 2 forks source link

Update netlify config to handle routes #436

Closed bherr2 closed 1 week ago

bherr2 commented 2 weeks ago

Right now refreshing an app that has routes ends in a 404 when publishing a build preview. There should be a way to configure netlify to handle this correctly via config file.

bherr2 commented 1 week ago

What we've done previously (doesn't work for nested apps) - https://github.com/cns-iu/scimaps/blob/main/.github/workflows/build-previews.yml#L42C62-L43C1