link-stack/apps/link/next.config.js

37 lines
807 B
JavaScript
Raw Permalink Normal View History

/** @type {import('next').NextConfig} */
const nextConfig = {
basePath: '/link',
poweredByHeader: false,
2024-05-14 09:40:58 +02:00
transpilePackages: [
2024-06-05 08:52:41 +02:00
"@link-stack/leafcutter-ui",
"@link-stack/opensearch-common",
"@link-stack/ui",
"@link-stack/bridge-common",
"@link-stack/bridge-ui",
"mui-chips-input",
2024-05-14 09:40:58 +02:00
],
headers: async () => {
return [
{
source: "/((?!zammad).*)",
headers: [
{
key: "Strict-Transport-Security",
value: "max-age=63072000; includeSubDomains; preload",
},
{
key: "X-Frame-Options",
2024-11-28 08:27:20 +01:00
value: "SAMEORIGIN",
},
{
key: "X-Content-Type-Options",
value: "nosniff",
},
],
},
];
2023-05-25 12:37:14 +00:00
},
2022-12-02 10:55:56 +00:00
};
2024-05-14 09:40:58 +02:00
export default nextConfig;