Files
piik/prototype/channel-server/vite.config.ts
T
AAA 9770d61cc1 feat(channel): host rooms through the shared browser runtime
Load the Rust room owner in WASM, commit policy and history in IndexedDB, and fence competing pages with the existing binding identity. Connect availability and capabilities to the shared UI, align the frontend wire contract, and exercise real owner recovery and cross-room media.
2026-10-27 18:54:10 -04:00

10 lines
387 B
TypeScript

import { defineConfig, mergeConfig } from "vite";
import base from "../../vite.config.ts";
export default mergeConfig(base, defineConfig({
server: {
host: "127.0.0.1", port: Number(process.env.PIIK_CHANNEL_UI_PORT ?? 8790), strictPort: true,
proxy: { "^/prototype/channel(?:/|$)": { target: `http://127.0.0.1:${process.env.PIIK_CHANNEL_PORT ?? 8791}`, ws: true } },
},
}));