Files
robinnetwork_website_new_cl…/next.config.ts

27 lines
629 B
TypeScript

const createNextIntlPlugin = require("next-intl/plugin");
const withNextIntl = createNextIntlPlugin("./src/i18n.ts");
/** @type {import('next').NextConfig} */
const nextConfig = {
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);