UI dev is stymied by inability to use Vite dev server to quickly iterate changes.
Sometimes a black screen shows up on sign in.
Solution
[x] Configure a flexible URL for Appstore, Register, and Homepage frontends which will prepend api/ to node-facing requests in development mode only, so that the Vite dev server can proxy these requests to the node. Also, make these requests with the browser's stored credentials so they will be respected by the node.
[x] Fix nullable errors in homepage code to prevent black screen.
Testing
[x] Open Appstore in a dev server in a browser where you've signed into your node (you need to sign in to get the secure cookie).
[x] Confirm you can change the UI without rebuilding the frontend and node.
[x] Do the same for Register and Homepage.
[x] Reboot node and sign in again, and confirm there's not a black screen which requires you to reload.
Problem
Solution
api/
to node-facing requests in development mode only, so that the Vite dev server can proxy these requests to the node. Also, make these requests with the browser's stored credentials so they will be respected by the node.Testing