Fix wrong require path
This commit is contained in:
parent
11b3580679
commit
876206f7c9
|
@ -5,7 +5,7 @@ const moment = require('moment');
|
||||||
const jsonfile = require('jsonfile');
|
const jsonfile = require('jsonfile');
|
||||||
const Step = require('step');
|
const Step = require('step');
|
||||||
const fm = require('front-matter');
|
const fm = require('front-matter');
|
||||||
const config = require('../static/config.json');
|
const config = require('../static/config/config.json');
|
||||||
|
|
||||||
function readFile(filepath, callback) {
|
function readFile(filepath, callback) {
|
||||||
fs.readFile(filepath, 'utf-8', callback);
|
fs.readFile(filepath, 'utf-8', callback);
|
||||||
|
|
Loading…
Reference in New Issue