mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-02-14 21:10:41 +01:00
dotenv tweak
This commit is contained in:
parent
9c6c7c27ab
commit
ababcb8083
@ -4,9 +4,7 @@ const yaml = require('js-yaml')
|
|||||||
const meta = yaml.load(fs.readFileSync('./content/meta.yml', 'utf8'))
|
const meta = yaml.load(fs.readFileSync('./content/meta.yml', 'utf8'))
|
||||||
const { title, url, matomoSite, matomoUrl } = meta[0]
|
const { title, url, matomoSite, matomoUrl } = meta[0]
|
||||||
|
|
||||||
require('dotenv').config({
|
require('dotenv').config()
|
||||||
path: '.env'
|
|
||||||
})
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
siteMetadata: {
|
siteMetadata: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user