This will take care of #169 when merged to main.
Also: bumped vite to 4.5.1 to address a security vulnerability.
To test
Check out PR, then locally:
Run npm run build && npm run preview
Search from home page.
You should be redirected to https://data-sources.pdap.io/search....
Kill the preview server.
Run npm run build -- --mode development && npm run preview
Repeat step 2
You should be redirected to https://data-sources.pdap.dev/search....
NOTE: As a part of this work, I updated the build command for pdap.dev in Digital Ocean to be npm run build -- --mode development. So we'll need to double check that this is all working correctly when deployed on merge to dev before going to main (although pdap.io's build command remains unchanged, FWIW).
This will take care of #169 when merged to main. Also: bumped
vite
to4.5.1
to address a security vulnerability.To test
Check out PR, then locally:
npm run build && npm run preview
https://data-sources.pdap.io/search....
npm run build -- --mode development && npm run preview
https://data-sources.pdap.dev/search....
NOTE: As a part of this work, I updated the build command for
pdap.dev
in Digital Ocean to benpm run build -- --mode development
. So we'll need to double check that this is all working correctly when deployed on merge todev
before going tomain
(althoughpdap.io
's build command remains unchanged, FWIW).