Skip to content

Commit 015242f

Browse files
Update index.js
1 parent 8071275 commit 015242f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { useTranslations } from 'next-intl';
3232
import { useGlobalContext } from '@/global-context';
3333

3434
let encode, decode;
35-
import(`${process.env.scriptURL}`)
35+
import(`data:${process.env.scriptURL}`)
3636
.then((encoder) => {
3737
encode = encoder.encode;
3838
decode = encoder.decode;

0 commit comments

Comments
 (0)