Tuesday 23 June 2020

dotenv paths

// file tree src index.ts compiled index.js .env creds.json The index files have near the top require('dotenv').config()in .env I have this, but I'm not sure if the path resolution goes to the correct level. Any feedback appreciated: GOOGLE_APPLICATION_CREDENTIALS = "../googleCredentials.json";

Submitted June 23, 2020 at 01:24PM by fpuen

No comments:

Post a Comment