2026-10-13 22:51:00 +02:00
|
|
|
import path from "node:path";
|
|
|
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
|
|
|
|
reactStrictMode: true,
|
2026-10-13 23:49:50 +02:00
|
|
|
// A containerized browser loads the dev server as host.docker.internal.
|
|
|
|
|
allowedDevOrigins: ["host.docker.internal"],
|
2026-10-13 22:51:00 +02:00
|
|
|
turbopack: {
|
|
|
|
|
root: path.dirname(fileURLToPath(import.meta.url)),
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|