13 lines
262 B
TypeScript
13 lines
262 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const allowedDevOrigins = (process.env.CLAW_ALLOWED_DEV_ORIGINS ?? "")
|
|
.split(",")
|
|
.map((origin) => origin.trim())
|
|
.filter(Boolean);
|
|
|
|
const nextConfig: NextConfig = {
|
|
allowedDevOrigins,
|
|
};
|
|
|
|
export default nextConfig;
|