load darkmode script from cdn

This commit is contained in:
keyan 2022-04-15 10:59:39 -05:00
parent 64124eb289
commit dfea0db775

View File

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