2026-07-26 11:27:21 +07:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
|
|
|
|
reactCompiler: true,
|
2026-08-07 10:44:03 +07:00
|
|
|
// SSR — pages render on the server; realtime stays client-side via WS.
|
|
|
|
|
// No static export: shared state (voice, media, moderation) is served
|
|
|
|
|
// from the backend at render-time on the server.
|
|
|
|
|
output: "standalone",
|
2026-07-26 11:27:21 +07:00
|
|
|
trailingSlash: true,
|
|
|
|
|
images: { unoptimized: true },
|
|
|
|
|
};
|
|
|
|
|
|
2026-08-07 10:44:03 +07:00
|
|
|
export default nextConfig;
|