Files
robinnetwork_website_new_cl…/next.config.ts
2026-05-08 22:34:08 +03:30

28 lines
653 B
TypeScript

const createNextIntlPlugin = require("next-intl/plugin");
const withNextIntl = createNextIntlPlugin("./src/i18n.ts");
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
unoptimized: true,
remotePatterns: [
{
protocol: "http",
hostname: "127.0.0.1", // Changed from localhost
port: "4000",
pathname: "/uploads/**",
},
{
protocol: "http",
hostname: "localhost",
port: "4000", // Updated to match your environment variables
pathname: "/uploads/**",
},
],
},
};
module.exports = withNextIntl(nextConfig);