Move config to root folder
This commit is contained in:
parent
9da4832b64
commit
68c7d36521
|
@ -1,6 +1,6 @@
|
|||
import React, { Component } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import config from '../utils/config.json';
|
||||
import config from '../../config.json';
|
||||
import '../static/stylesheets/globals.scss';
|
||||
import styles from './Home.scss';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React, {Component} from 'react';
|
||||
import config from '../utils/config.json';
|
||||
import config from '../../config.json';
|
||||
import '../static/stylesheets/globals.scss';
|
||||
import styles from './Navbar.scss';
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ const data = require('./data.json');
|
|||
const api = require('express').Router();
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const config = require('./config.json');
|
||||
const config = require('../../config.json');
|
||||
|
||||
api.get('/blog', (req, res) => {
|
||||
res.set('Cache-Control', 'no-cache');
|
||||
|
|
|
@ -5,7 +5,7 @@ const moment = require('moment');
|
|||
const jsonfile = require('jsonfile');
|
||||
const async = require('async');
|
||||
const fm = require('front-matter');
|
||||
const config = require('../utils/config.json');
|
||||
const config = require('../../config.json');
|
||||
|
||||
/**
|
||||
* Renders file using MarkdownIt
|
||||
|
|
|
@ -2,7 +2,7 @@ const fs = require('fs');
|
|||
const path = require('path');
|
||||
const async = require('async');
|
||||
const Compiler = require('./compiler');
|
||||
const config = require('./config.json');
|
||||
const config = require('../../config.json');
|
||||
const data = require('./data.json');
|
||||
|
||||
module.exports = function() {
|
||||
|
|
Loading…
Reference in New Issue