load darkmode script from cdn
This commit is contained in:
parent
64124eb289
commit
dfea0db775
|
@ -20,7 +20,7 @@ class MyDocument extends Document {
|
|||
/>
|
||||
</Head>
|
||||
<body>
|
||||
<script src='/darkmode.js' />
|
||||
<script src={`${publicPrefix}/darkmode.js`} />
|
||||
<Main />
|
||||
<NextScript />
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue