feat: ci cd filed

This commit is contained in:
mahyargdz
2025-03-29 15:51:58 +03:30
parent c6f46d4524
commit abe40d0da1
6 changed files with 3716 additions and 4 deletions
+33
View File
@@ -1,7 +1,9 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
/* config options here */
poweredByHeader: false,
images: {
domains: ["*"],
remotePatterns: [
@@ -15,6 +17,37 @@ const nextConfig: NextConfig = {
},
],
},
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;