Skip to content

Commit 4ed4fe7

Browse files
committed
update next.config.js to allow images from any dev.to subdomain
1 parent cbf9db4 commit 4ed4fe7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
137137
- Fixed dev.to images not showing due to them changing image host
138138
- Fixed styling issue on nav links
139139
- Fixed contact form message position
140+
- Fixed blog images not loading due to dev.to changing image host (sub)domain

next.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = withPWA({
2424
},
2525
{
2626
protocol: 'https',
27-
hostname: 'media.dev.to',
27+
hostname: '*.dev.to',
2828
},
2929
],
3030
},

0 commit comments

Comments
 (0)