Files
danak-website/next.config.ts
T
hamid zarghami c797df85ce remove header
2025-04-16 12:46:06 +03:30

54 lines
1.1 KiB
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
/* config options here */
poweredByHeader: false,
images: {
domains: ["*"],
remotePatterns: [
{
protocol: "https",
hostname: "**",
},
{
protocol: "http",
hostname: "**",
},
],
},
// headers: async () => [
// {
// source: "/:path*",
// headers: [
// {
// key: "X-DNS-Prefetch-Control",
// value: "on",
// },
// {
// key: "Strict-Transport-Security",
// value: "max-age=63072000; includeSubDomains; preload",
// },
// {
// key: "X-XSS-Protection",
// value: "1; mode=block",
// },
// {
// key: "X-Frame-Options",
// value: "SAMEORIGIN",
// },
// {
// key: "X-Content-Type-Options",
// value: "nosniff",
// },
// {
// key: "Referrer-Policy",
// value: "origin-when-cross-origin",
// },
// ],
// },
// ],
};
export default nextConfig;