28 lines
653 B
TypeScript
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);
|