nandi/oripublic Fork 0
2434cc7fb724f02b34c0189dfd5fb30c1a8a68e3
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

vite.config.ts · 20 lines · 599 BTypeScript Blame HistoryRaw
✨ Introduce new feature(s): ACP web client — Go backend (agent, bridge, httpserver, mockagent) + React SPA (Zed-like agent panel), tests, quality gate PASS 2434cc7 k33g yesterday1/// <reference types="vitest/config" />
2import { defineConfig } from "vite";
3import react from "@vitejs/plugin-react";
4
5// In development the SPA runs on Vite's dev server while the Go backend runs
6// on :8888; the proxy below forwards the API and WebSocket routes to it. In
7// production the Go binary serves the built SPA itself and no proxy exists.
8export default defineConfig({
9 plugins: [react()],
10 server: {
11 proxy: {
12 "/ws": { target: "ws://localhost:8888", ws: true },
13 "/healthz": { target: "http://localhost:8888" },
14 },
15 },
16 test: {
17 environment: "jsdom",
18 globals: true,
19 },
20});