import type { NextConfig } from "next"; const nextConfig: NextConfig = { async redirects() { return [ { source: "/onboarding/:path*", destination: "/dashboard", permanent: false, }, ]; }, images: { unoptimized: true, remotePatterns: [ { protocol: "https", hostname: "be.inatrading.co.id", }, { protocol: "http", hostname: "203.175.11.191", }, ], dangerouslyAllowSVG: true, contentDispositionType: "attachment", contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;", }, }; export default nextConfig;