Thanks its work ! my next.config.js file code:
/** @type {import('next').NextConfig} */ const nextConfig = { output: "export", trailingSlash: true, // Enables trailing slashes in URLs experimental: { fallbackNodePolyfills: false, }, images: { unoptimized: true, // Required for static export remotePatterns: [ { protocol: "https", hostname: "edyug.com", port: "", pathname: "/img/", // Allows images from the /img directory }, { protocol: "https", hostname: "edyug.com", port: "", pathname: "/media/", // Allows images from the /media directory }, ], }, };
module.exports = nextConfig;