sipher/next.config.ts
Nixyan 9a6883a726 chore: update dependencies and configuration
- 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
2026-03-26 11:06:44 -03:00

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;