import type { NextConfig } from "next"; import createNextIntlPlugin from "next-intl/plugin"; const nextConfig: NextConfig = { env: { NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL, NEXT_PUBLIC_APP_URL: process.env.NEXT_PUBLIC_APP_URL, NEXT_PUBLIC_AUTH_REDIRECT_URL: process.env.NEXT_PUBLIC_AUTH_REDIRECT_URL, }, images: { remotePatterns: [ { protocol: "https", hostname: "aura-node.s3.eu-west-2.amazonaws.com", pathname: "/**", }, { protocol: "https", hostname: "assets.witlab.us", pathname: "/**", }, ], }, }; const withNextIntl = createNextIntlPlugin(); export default withNextIntl(nextConfig);