Skip to content

Commit 1335cfb

Browse files
committed
X-Frame-Options
1 parent 30afc43 commit 1335cfb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

apps/dashboard/next.config.mjs

+13
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ const config = {
4040

4141
return config;
4242
},
43+
async headers() {
44+
return [
45+
{
46+
source: "/(.*)",
47+
headers: [
48+
{
49+
key: "X-Frame-Options",
50+
value: "SAMEORIGIN",
51+
},
52+
],
53+
},
54+
];
55+
},
4356
};
4457

4558
export default withBundleAnalyzer(config);

0 commit comments

Comments
 (0)