/** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', basePath: '/book', // Portal (or Caddy) proxies https://host/book → this app }; export default nextConfig;