Files
AetherForge/server/web/vite.config.ts
drjones 6c42f2b600 Complete private Monero miner control stack.
Implement Windows agent with RandomX mining and WebSocket fleet reporting, wire dashboard settings into the builder with saved exe paths, and add project README.
2026-05-26 22:51:47 -07:00

24 lines
419 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8989',
changeOrigin: true,
},
'/ws': {
target: 'ws://localhost:8989',
ws: true,
},
},
},
build: {
outDir: 'dist',
sourcemap: false,
},
})