From ababcb8083f8ff5897925c2a08e58e5d171be59f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 16 Nov 2019 14:55:30 +0100 Subject: [PATCH] dotenv tweak --- gatsby-config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 11170b6..9af4263 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -4,9 +4,7 @@ const yaml = require('js-yaml') const meta = yaml.load(fs.readFileSync('./content/meta.yml', 'utf8')) const { title, url, matomoSite, matomoUrl } = meta[0] -require('dotenv').config({ - path: '.env' -}) +require('dotenv').config() module.exports = { siteMetadata: {