- Updated package dependencies to their latest versions. - Modified `next.config.ts` to dynamically set allowed development origins from environment variables. - Enhanced `package.json` scripts for development and testing, adding new test commands for proxy tests. - Adjusted Playwright configuration to use the updated server command for testing. #3
11 lines
281 B
TypeScript
11 lines
281 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const allowedDevOrigins = process.env.DEV_ALLOWED_HOSTNAMES!.split(",").map((hostname) => hostname.trim())
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
reactCompiler: true,
|
|
allowedDevOrigins
|
|
};
|
|
|
|
export default nextConfig;
|