- auth.ts: auto-allow localhost:3000-3010 + LAN_HOST for trustedOrigins - setup.sh: new `dev` command (update + kill old processes + auto LAN IP + launch) - next.config.ts: allowedDevOrigins for LAN HMR
10 lines
237 B
TypeScript
10 lines
237 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
serverExternalPackages: ["@prisma/client", "bcryptjs", "ioredis"],
|
|
allowedDevOrigins: ["192.168.1.78"],
|
|
};
|
|
|
|
export default nextConfig;
|