2026-06-11 18:30:02 +00:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
|
|
|
|
output: "standalone",
|
2026-06-16 18:46:28 +00:00
|
|
|
// Dev server blocks cross-origin HMR requests by default in Next 16. The
|
|
|
|
|
// app is normally loaded on `localhost`, but we also load it on
|
|
|
|
|
// `127.0.0.1` (and on the LAN IP for phone testing). Listing both keeps
|
|
|
|
|
// the HMR client from hanging on the first load.
|
2026-07-07 16:01:43 +00:00
|
|
|
allowedDevOrigins: ["127.0.0.1", "localhost", "192.168.1.122", "192.168.1.128", "*"],
|
2026-06-11 18:30:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|