Fix WebUI LAN startup handling
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const allowedDevOrigins = (process.env.CLAW_ALLOWED_DEV_ORIGINS ?? "")
|
||||
.split(",")
|
||||
.map((origin) => origin.trim())
|
||||
.filter(Boolean);
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
allowedDevOrigins,
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user