first commit
This commit is contained in:
17
frontend/next.config.js
Normal file
17
frontend/next.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
poweredByHeader: false,
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
source: "/(.*)",
|
||||
headers: [
|
||||
{ key: "X-Frame-Options", value: "DENY" },
|
||||
{ key: "X-Content-Type-Options", value: "nosniff" }
|
||||
]
|
||||
}
|
||||
];
|
||||
}
|
||||
};
|
||||
module.exports = nextConfig;
|
||||
Reference in New Issue
Block a user