import path from "node:path"; import { fileURLToPath } from "node:url"; import type { NextConfig } from "next"; const nextConfig: NextConfig = { reactStrictMode: true, // A containerized browser loads the dev server as host.docker.internal. allowedDevOrigins: ["host.docker.internal"], turbopack: { root: path.dirname(fileURLToPath(import.meta.url)), }, }; export default nextConfig;