Initial commit: X-Plane G1000 web cockpit + bridge + Tauri desktop app
- server/: Node bridge (datarefs/commands, navdata, CIFP procedures, flight plan) - web/: React cockpit (PFD/MFD/Map, VFR six-pack, AFCS, FMS CDU), PWA, collapsible sidebar - desktop/: Tauri 2 launcher (Bun sidecar, system tray, updater) + Linux build via Docker - scripts/: prep-desktop, build-linux, Gitea release + latest.json Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
|
||||
// During `npm run dev`, proxy the bridge WebSocket so you can develop the UI
|
||||
// with hot-reload while the bridge runs on :8080.
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: true, // expose dev server on the LAN too
|
||||
proxy: {
|
||||
'/ws': { target: 'ws://localhost:8080', ws: true },
|
||||
'/api': { target: 'http://localhost:8080' },
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user