This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Description
Hello there!
I'm developing an app with electron and I have my own custom environment variables.
Running any request to the paperspace api with my own NODE_ENV creates an error in line 14 of client.js:
var nodeEnv = processEnv.NODE_ENV;
var config = configInfo[nodeEnv || 'production'];
Throwing this:
TypeError: Cannot read property 'host' of undefined
because I don't have a custom .host variable in my environment variable.
I got to pass the error by specifying production always:
var config = configInfo['production'];
I'm not sure if this is the intended behavior. If not, I can submit a PR to fix this