From cf5c3294fd53f44894e4e16184cef754f279bef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Thu, 16 Apr 2026 13:55:53 +0400 Subject: [PATCH] add path name to image remotePatterns --- next.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/next.config.js b/next.config.js index 86a7d8d..b959a1a 100644 --- a/next.config.js +++ b/next.config.js @@ -19,6 +19,7 @@ module.exports = (withPWA({ { protocol: 'https', hostname: 'api.oki.re', + pathname: '/uploads/**', }, { protocol: 'https', @@ -27,10 +28,14 @@ module.exports = (withPWA({ { protocol: 'http', hostname: '127.0.0.1', + port: '1337', + pathname: '/uploads/**', }, { protocol: 'http', hostname: 'localhost', + port: '1337', + pathname: '/uploads/**', }, ]