Sources files and router base are being determined by checks against window.location.host
Vite provides an envvar injection/import mechanism that we should use instead
The truest bestest way to fix ?useProdData=true breaking the local dev flow is with the envvars issue here so I'm throwing a comment to that effect on this issue.
Sources files and router base are being determined by checks against
window.location.host
Vite provides an envvar injection/import mechanism that we should use insteadhttps://vitejs.dev/guide/env-and-mode.html