app/ = /opt/callrec (Node-Backend, Vite-Frontend, Python-Inferenz, Audio-Skripte, rkllm_server.cpp), system/ = systemd-Units, WirePlumber/PipeWire-Drop-ins, sudoers. Modelle, Binaries, Aufnahmen und node_modules bleiben draussen (.gitignore). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
13 lines
250 B
JavaScript
13 lines
250 B
JavaScript
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
host: true,
|
|
proxy: {
|
|
'/api': 'http://localhost:3000',
|
|
'/media': 'http://localhost:3000'
|
|
}
|
|
},
|
|
build: { outDir: 'dist', emptyOutDir: true }
|
|
});
|