diff --git a/beta/src/pages/[[...markdownPath]].js b/beta/src/pages/[[...markdownPath]].js index 42636090..154065c6 100644 --- a/beta/src/pages/[[...markdownPath]].js +++ b/beta/src/pages/[[...markdownPath]].js @@ -108,7 +108,7 @@ export async function getStaticProps(context) { ); return cached; } - if (process.ENV.NODE_ENV === 'production') { + if (process.env.NODE_ENV === 'production') { console.log( 'Cache miss for MDX for /' + path + ' from ./node_modules/.cache/' );