Files
gotail/frontend/vite.config.ts
T
Luiz Costa 3a5cbe12ef feat: initialize web tail pro application with frontend and backend
- Add frontend React application with log viewing components
- Implement backend Go server for log tailing and SSE streaming
- Include build scripts for both frontend and backend
- Set up basic authentication and file handling
- Add styling and log formatting capabilities
2025-11-18 08:27:21 -03:00

13 lines
324 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
base: './',
server: {
proxy: {
'/api': { target: 'http://localhost:8080', changeOrigin: true },
'/logs': { target: 'http://localhost:8080', changeOrigin: true },
}
}
})