21 lines
443 B
TypeScript
21 lines
443 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
// * Enable standalone output for Railway deployment
|
|
output: 'standalone',
|
|
// * Privacy-first: Disable analytics and telemetry
|
|
productionBrowserSourceMaps: false,
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/dashboard',
|
|
destination: '/',
|
|
permanent: false,
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|