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 (