Files
oaktasty/next.config.ts
T
Alireza HassaniandCursor 50a3bc9788 Allow ParsPack CDN hosts so product images load on oaktasty.com.
Meshkee storage moved off parminstorage.ir; Next.js was blocking the new remote URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:42:45 +03:30

32 lines
766 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Leaner production runtime: deploy uses .next/standalone and drops node_modules.
output: "standalone",
images: {
dangerouslyAllowSVG: true,
contentDispositionType: "attachment",
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
remotePatterns: [
{
protocol: "https",
hostname: "meshkee-storage.sas.amin.parminstorage.ir",
},
{
protocol: "https",
hostname: "c804387.parspack.net",
},
{
protocol: "https",
hostname: "**.parspack.net",
},
{
protocol: "https",
hostname: "cdn.meshkee.com",
},
],
},
};
export default nextConfig;