import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", async redirects() { return [ { source: "/portfolio/:path*", destination: "/portfolios", permanent: true, }, { source: "/products/:path*", destination: "/portfolios", permanent: true, }, ]; }, images: { remotePatterns: [ { protocol: "https", hostname: "meshkee-storage.sas.amin.parminstorage.ir", pathname: "/**", }, { protocol: "https", hostname: "meshkee-templates.sas.amin.parminstorage.ir", pathname: "/**", }, ], }, }; export default nextConfig;