w-lab-app/next.config.ts
gofnnp 23e6031b19 AW-487-chats
chats
2025-07-26 20:21:59 +04:00

28 lines
705 B
TypeScript

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);