Skip to content

Commit

Permalink
Merge pull request #224 from Web-Dev-Path/fix/devto-image
Browse files Browse the repository at this point in the history
Update next.config.js to allow images from any dev.to subdomain
  • Loading branch information
mariana-caldas authored Nov 11, 2024
2 parents cbf9db4 + 4ed4fe7 commit 7260e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed dev.to images not showing due to them changing image host
- Fixed styling issue on nav links
- Fixed contact form message position
- Fixed blog images not loading due to dev.to changing image host (sub)domain
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = withPWA({
},
{
protocol: 'https',
hostname: 'media.dev.to',
hostname: '*.dev.to',
},
],
},
Expand Down

0 comments on commit 7260e16

Please sign in to comment.