feat: add ci cd files

This commit is contained in:
mahyargdz
2025-08-27 09:03:50 +03:30
parent 39d01d6e2e
commit b0f299fc70
3 changed files with 119 additions and 1 deletions
+31 -1
View File
@@ -1,8 +1,12 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
/* config options here */
poweredByHeader: false,
images: {
domains: ["*"],
remotePatterns: [
{
protocol: "https",
@@ -13,8 +17,34 @@ const nextConfig: NextConfig = {
hostname: "**",
},
],
unoptimized: false,
},
headers: async () => [
{
source: "/:path*",
headers: [
{
key: "X-DNS-Prefetch-Control",
value: "on",
},
{
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;