- 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
13 lines
324 B
TypeScript
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 },
|
|
}
|
|
}
|
|
}) |