- 030: groups.parent_id tree + kind discriminator + group_rooms mapping - /collectives module: create/tree/join APIs, MatrixProvisioner (open room public+federated, closed room E2EE-at-creation, onboarding room), NullProvisioner fail-soft when ARCHIVE_PROVISIONER_* unset - web root becomes the public participation manual (ES-first + EN toggle, three paths: join by invite, start collective, solo account) - participation manual content in core
13 lines
572 B
JavaScript
13 lines
572 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
// The app root ("/") is the public participation-manual landing page
|
|
// (collectives P1): no redirect — see src/app/page.tsx. Signed-in visitors
|
|
// are sent to /streams client-side so the manual stays reachable.
|
|
async rewrites() {
|
|
const api = (process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:3000").replace(/\/$/, "");
|
|
return [{ source: "/media-control/preview/:path*", destination: `${api}/media-control/preview/:path*` }];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|