From 3e977c020da9477e4ce44a5afa0f57ca8d91280b Mon Sep 17 00:00:00 2001 From: keyan Date: Wed, 23 Feb 2022 21:02:23 -0600 Subject: [PATCH] fix lightning font loading --- pages/_document.js | 12 +++++++++++- pages/api/capture/[[...path]].js | 2 +- styles/globals.scss | 5 ----- 3 files changed, 12 insertions(+), 7 deletions(-) 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 ( - + +