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 ed44bb5 commit 35c6034
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion client/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@ 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',
hostname: 'climation-staging.afocosec.org',
},
{
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 35c6034

Please sign in to comment.