#How do I read firebase api keys via a .env.local file?

1 messages · Page 1 of 1 (latest)

high perch
#

That's completely handled by vite, not tauri so you may have better luck asking the vite guys 🤔

left shuttle
#

What returns that object?

#

import.meta.env.VITE_FIREBASE_API_KEY?

#

Can you send your Vite config?

#

Just to make sure - you have restarted the dev server after updating the .env.local file?

#

And it is placed at the root directory

#

I'm pretty certain you should

#

Then restart the dev server