How can I get envs in a front-end extension in directus?
Frontend extensions run in the browser and environment variables exist on the server. The browser cannot directly access environment variables from the server, you’ll have to expose the data you want through the API so the browser can request it.