load darkmode script from cdn

This commit is contained in:
keyan 2022-04-15 10:59:39 -05:00
parent 64124eb289
commit dfea0db775
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class MyDocument extends Document {
/>
</Head>
<body>
<script src='/darkmode.js' />
<script src={`${publicPrefix}/darkmode.js`} />
<Main />
<NextScript />
</body>