Skip to content

Commit

Permalink
images route next config
Browse files Browse the repository at this point in the history
  • Loading branch information
mluena committed Aug 2, 2024
1 parent ce34ce9 commit 858bee6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import('./src/env.mjs');
const nextConfig = {
transpilePackages: ['@serverless-app-scaffold/types', 'lucide-react', 'hi'],
images: {
domains: ['api.mapbox.com', 'afoco-staging-assets.s3.ap-northeast-2.amazonaws.com'],
remotePatterns: [
{
protocol: 'https',
Expand All @@ -14,6 +13,10 @@ const nextConfig = {
protocol: 'https',
hostname: 'afoco-staging-assets.s3.ap-northeast-2.amazonaws.com',
},
{
protocol: 'https',
hostname: 'afoco-production-assets.s3.ap-northeast-2.amazonaws.com',
},
],
},
async redirects() {
Expand Down

0 comments on commit 858bee6

Please sign in to comment.