loading...

Discussion on: How Can I Access Environment Variables in My Static Website?

Collapse
eruizdechavez profile image
Erick Ruiz de Chavez

To give a bit more context (after looking at your site), your file podcast.js would have an empty array episodes instead of the current content, and your build script would dynamically replace it with the actual content of the array fetched from the API and then publish it to your server.