opencage-api-client icon indicating copy to clipboard operation
opencage-api-client copied to clipboard

prevent error in browser when api key is not set

Open tsamaya opened this issue 1 year ago • 0 comments

With the new version passing the parameters (ie, not controlling a mandatory API key parameter) the behaviour is to read the environment variable. in a browser process.env is not defined and raise an error

tsamaya avatar Apr 23 '23 11:04 tsamaya