/** @type {import('next').NextConfig} */ const nextConfig = { basePath: '/link', poweredByHeader: false, transpilePackages: [ "@link-stack/leafcutter-ui", "@link-stack/opensearch-common", "@link-stack/ui", "@link-stack/bridge-common", "@link-stack/bridge-ui", "mui-chips-input", ], headers: async () => { return [ { source: "/((?!zammad).*)", headers: [ { key: "Strict-Transport-Security", value: "max-age=63072000; includeSubDomains; preload", }, { key: "X-Frame-Options", value: "SAMEORIGIN", }, { key: "X-Content-Type-Options", value: "nosniff", }, ], }, ]; }, }; export default nextConfig;