Files
filedrop/web/vite.config.ts
agent 4b34a85599 init: FileDrop phase1 architecture and scaffold
- Rust axum signaling server with WebSocket support
- Lit + TypeScript frontend with Vite
- Redis session storage with TTL
- WebRTC transport and crypto client stubs
- Phase1 architecture plan in plans/
- Deploy directory structure prepared
2026-04-09 10:32:06 +08:00

18 lines
300 B
TypeScript

import { defineConfig } from 'vite';
export default defineConfig({
build: {
outDir: '../server/static',
emptyOutDir: true,
},
server: {
proxy: {
'/api': 'http://localhost:3000',
'/ws': {
target: 'ws://localhost:3000',
ws: true,
},
},
},
});