From 47049eeefaebc0cb27067e33bfef84f11939ef07 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Mon, 9 Sep 2024 21:24:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Use=20cloudfront=20distribution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/next.config.js | 2 +- apps/web/src/components/optimized-avatar-image.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 0d86bd6b2..53020b395 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -23,7 +23,7 @@ const nextConfig = { pathname: "/api/storage/**", }, { - hostname: "rallly-public.s3.amazonaws.com", + hostname: "d39ixtfgglw55o.cloudfront.net", }, ], }, diff --git a/apps/web/src/components/optimized-avatar-image.tsx b/apps/web/src/components/optimized-avatar-image.tsx index dfe657fce..4541ac99c 100644 --- a/apps/web/src/components/optimized-avatar-image.tsx +++ b/apps/web/src/components/optimized-avatar-image.tsx @@ -25,7 +25,7 @@ export function OptimizedAvatarImage({ ) : isAvatarsEnabled ? (