@@ -10,6 +10,11 @@ const securityHeaders = [
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
poweredByHeader: false,
|
||||
// A small server with only what it needs, for the Docker image
|
||||
output: 'standalone',
|
||||
outputFileTracingRoot: require('path').join(__dirname, '../..'),
|
||||
// The shared package is TypeScript source
|
||||
transpilePackages: ['@kooltap/shared'],
|
||||
async headers() {
|
||||
return [
|
||||
{ source: '/:path*', headers: securityHeaders },
|
||||
|
||||
Reference in New Issue
Block a user