Meshkee storage moved off parminstorage.ir; Next.js was blocking the new remote URLs. Co-authored-by: Cursor <cursoragent@cursor.com>
32 lines
766 B
TypeScript
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;
|