diff --git a/pages/_document.js b/pages/_document.js index 3400d049..fbdad13b 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -1,11 +1,21 @@ import Document, { Html, Head, Main, NextScript } from 'next/document' +const publicPrefix = process.env.NODE_ENV === 'development' ? '' : 'https://a.stacker.news' class MyDocument extends Document { render () { return ( - + +