Skip to content

Commit

Permalink
config: 修改 next.config 的 media-src
Browse files Browse the repository at this point in the history
  • Loading branch information
kangood committed May 18, 2024
1 parent 80a590f commit 8eeb433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ContentSecurityPolicy = `
script-src 'self' 'unsafe-eval' 'unsafe-inline' giscus.app analytics.umami.is;
style-src 'self' 'unsafe-inline';
img-src * blob: data:;
media-src *.github.com;
media-src github.com raw.githubusercontent.com;
connect-src *;
font-src 'self';
frame-src giscus.app codepen.io ;
Expand Down Expand Up @@ -66,7 +66,7 @@ module.exports = () => {
dirs: ['app', 'components', 'layouts'],
},
images: {
domains: ['picsum.photos', 'panlore.top'],
domains: ['picsum.photos', 'github.com'],
remotePatterns: [
{
protocol: 'https',
Expand Down

0 comments on commit 8eeb433

Please sign in to comment.