mozilla / dawg

Data Access Workgroups (DAWG) aggregates workgroup definition artifacts into an unified view.
https://protosaur.dev/dawg/
1 stars 1 forks source link

DAWG Doesn't Use Envvars #16

Closed corbanCloud closed 1 month ago

corbanCloud commented 2 months ago

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

https://vitejs.dev/guide/env-and-mode.html

whd commented 1 month ago

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.