fix dark mode flash on non-homepage

This commit is contained in:
keyan 2021-11-16 13:17:13 -06:00
parent 803f414c6e
commit d0687e626b

View File

@ -8,7 +8,7 @@ class MyDocument extends Document {
<link rel='preload' href='/Lightningvolt-xoqm.ttf' as='font' type='font/ttf' crossOrigin='' />
</Head>
<body>
<script src='darkmode.js' type='module' />
<script src='/darkmode.js' type='module' />
<Main />
<NextScript />
</body>