I have a github linked static html site with no build process.
I have some js that calls 3rd party api and uses a key.
I add the key to the dashboard env settings.
I have read the documentation and tried a few examples of setting a function, eg code-examples/function_examples/use-env at master · netlify/code-examples · GitHub
These either failed to execute path
const response = await fetch(’/.netlify/functions/return-env’)
or simply returned undefined.
Is it possible to access env variable key in a static html scenario?