From 4ed4fe74afff03384be4ede21dc7a258e88b4356 Mon Sep 17 00:00:00 2001 From: Cheryl M Date: Thu, 7 Nov 2024 14:17:32 +1100 Subject: [PATCH] update next.config.js to allow images from any dev.to subdomain --- CHANGELOG.md | 1 + next.config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ce0c972..3d8bc61d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/next.config.js b/next.config.js index 756f253e..05584d33 100644 --- a/next.config.js +++ b/next.config.js @@ -24,7 +24,7 @@ module.exports = withPWA({ }, { protocol: 'https', - hostname: 'media.dev.to', + hostname: '*.dev.to', }, ], },