File size: 619 Bytes
485813e
 
 
 
 
 
 
243b15a
 
 
 
 
 
 
 
 
 
485813e
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
    plugins: [react()],
    server: {
        port: 5173,
        proxy: {
            '/port': 'http://localhost:8000',
            '/health': 'http://localhost:8000',
            '/demo-kernels': 'http://localhost:8000',
            '/benchmark-report': 'http://localhost:8000',
            '/cold-start': 'http://localhost:8000',
            '/aggregate-metric': 'http://localhost:8000',
            '/recompile': 'http://localhost:8000',
            '/export': 'http://localhost:8000',
        },
    },
})