Files
openclaw-webui/vite.config.js
Nova 5aa5ab73f3 Initial commit: OpenClaw WebUI with LDAP SSO
Features:
- Modern chat interface with streaming responses
- Multi-file upload support
- Code canvas panel for code viewing/editing
- Chat history persistence
- LDAP SSO authentication
- OpenAI-compatible API proxy to OpenClaw gateway
- Model/agent selection
- Dark theme
2026-02-25 03:11:16 +00:00

22 lines
412 B
JavaScript

import { defineConfig } from 'vite';
import { resolve } from 'path';
export default defineConfig({
root: 'client',
publicDir: 'public',
build: {
outDir: '../dist',
emptyOutDir: true
},
server: {
port: 5173,
proxy: {
'/api': 'http://localhost:3000',
'/v1': 'http://localhost:3000',
'/ws': {
target: 'ws://localhost:3000',
ws: true
}
}
}
});