There was an error while loading. Please reload this page.
2 parents 6583b21 + 3b35dff commit bb5a339Copy full SHA for bb5a339
1 file changed
bciers/next.config.base.js
@@ -3,6 +3,7 @@ const { withSentryConfig } = require("@sentry/nextjs");
3
const path = require("node:path");
4
5
const baseConfig = {
6
+ poweredByHeader: false,
7
reactStrictMode: true,
8
output: "standalone",
9
turbopack: {
@@ -57,6 +58,23 @@ const baseConfig = {
57
58
},
59
];
60
61
+ async headers() {
62
+ return [
63
+ {
64
+ source: "/(.*)",
65
+ headers: [
66
67
+ key: "X-Content-Type-Options",
68
+ value: "nosniff",
69
+ },
70
71
+ key: "Strict-Transport-Security",
72
+ value: "max-age=63072000; includeSubDomains;",
73
74
+ ],
75
76
+ ];
77
78
};
79
80
// Shared Sentry options for all apps
0 commit comments