mirror of
https://github.com/hsnks100/liveflow.git
synced 2025-09-26 20:21:12 +08:00
21 lines
411 B
TypeScript
21 lines
411 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
proxy: {
|
|
'/hls': {
|
|
target: 'http://localhost:8044',
|
|
changeOrigin: true,
|
|
},
|
|
'/streams': {
|
|
target: 'http://localhost:8044',
|
|
changeOrigin: true,
|
|
},
|
|
}
|
|
}
|
|
})
|