Skip to content

Commit af4ff50

Browse files
committed
fix: cdn
1 parent a7fac34 commit af4ff50

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

document/next.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config = {
1818
images: {
1919
unoptimized: true,
2020
dangerouslyAllowSVG: true,
21-
domains: ['oss.laf.run', 'static.ppinfra.com'],
21+
domains: ['oss.laf.run', 'static.ppinfra.com', 'cdn.jsdelivr.net'],
2222
remotePatterns: [
2323
{
2424
protocol: 'https',
@@ -32,6 +32,12 @@ const config = {
3232
port: '',
3333
pathname: '/**',
3434
},
35+
{
36+
protocol: 'https',
37+
hostname: 'cdn.jsdelivr.net',
38+
port: '',
39+
pathname: '/**',
40+
},
3541
],
3642
},
3743
};

0 commit comments

Comments
 (0)