We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dbeda4e + b32e542 commit 9f7932eCopy full SHA for 9f7932e
next.config.mjs
@@ -17,6 +17,32 @@ export default {
17
eslint: {
18
ignoreDuringBuilds: true,
19
},
20
+
21
+ async headers() {
22
+ return [
23
+ {
24
+ source: '/:path*',
25
+ headers: [
26
27
+ key: 'X-DNS-Prefetch-Control',
28
+ value: 'on'
29
+ },
30
31
+ key: 'Strict-Transport-Security',
32
+ value: 'max-age=31536000; includeSubDomains; preload'
33
34
35
+ key: 'X-Content-Type-Options',
36
+ value: 'nosniff'
37
38
39
+ key: 'X-Frame-Options',
40
+ value: 'DENY'
41
+ }
42
+ ],
43
44
+ ]
45
46
47
// Don't put redirects here
48
// they go in public/_redirects
0 commit comments