import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  output: "export",
  images: {
    unoptimized: true,
    remotePatterns: [
      {
        protocol: "http",
        hostname: "146.59.94.228",
        port: "1337",
        pathname: "/uploads/**",
      },
      {
        protocol: "https",
        hostname: "admin.laskar.pl",
        pathname: "/uploads/**",
      },
      {
        protocol: "https",
        hostname: "cms.laskar.pl",
        pathname: "/uploads/**",
      },
    ],
  },
};

export default nextConfig;
