Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dotenv not loading process.env in node

Rename your file to just .env, removing any prefix
require it as early as possible in your application with the code snippet below
require('dotenv').config();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dotenv #loading #node
ADD COMMENT
Topic
Name
1+8 =