Running STAC Browser with URL at startup breaks on links to items #375
alexgleith
started this conversation in
General
Replies: 1 comment 4 replies
-
Self links are fine, I think: https://stac-api.staging.digitalearthpacific.org/collections/dep_ls_wofs/items/dep_ls_wofs_VU_016_2022_mean I guess you're right, we need to set up the web server in the Dockerfile so that it handles the SPA properly: https://github.com/radiantearth/stac-browser/blob/main/Dockerfile I can mess around the the Nginx config tomorrow. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running STAC Browser and using the entrypoint to configure a starting STAC API, like this:
This works great, it loads up and clicking around works fine.
But, if I follow the links to an item, like this
https://stac-browser.staging.digitalearthpacific.org/collections/dep_ls_wofs/items/dep_ls_wofs_TV_008_2022_mean
and copy and paste that into a browser, I get this error:The console logs this:
It's trying to parse HTML as JSON, for some reason...
Any ideas what's going on?
Beta Was this translation helpful? Give feedback.
All reactions