Add githash to footer

This commit is contained in:
Nicholas Zuber 2020-01-20 16:52:36 -05:00
parent 2ba4298e14
commit 14144a5a44

View File

@ -19,8 +19,7 @@ const paths = require('./paths');
const getClientEnvironment = require('./env');
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
// const gitHash = execSync('git rev-parse --short HEAD').toString().trim();
const gitHash = '';
const gitHash = execSync('git rev-parse --short HEAD').toString().trim();
// Webpack uses `publicPath` to determine where the app is being served from.
// It requires a trailing slash, or the file assets will get an incorrect path.