From 28ef681a24c66128024ff4ab131e368b209df25c Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 26 Dec 2024 16:14:03 -0600 Subject: [PATCH] Add remote image patterns for r2 image domains --- next.config.mjs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 6a5c790..2d45347 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -53,6 +53,22 @@ const v2_redirects = [ /** @type {import("next").NextConfig} */ const config = { reactStrictMode: true, + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: 'img.walters.to', + }, + { + protocol: 'https', + hostname: 'img.xevion.dev', + }, + { + protocol: 'https', + hostname: 'api.xevion.dev', + } + ] + }, async redirects() { // Source cannot end with / slash return [