16 lines
363 B
TypeScript
16 lines
363 B
TypeScript
import { defineConfig } from 'vite'
|
|
import preact from '@preact/preset-vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [preact()],
|
|
base: './',
|
|
server: {
|
|
proxy: {
|
|
'/sessions': 'http://localhost:8011',
|
|
'/backends': 'http://localhost:8011',
|
|
'/agents': 'http://localhost:8011',
|
|
'/openapi.json': 'http://localhost:8011',
|
|
},
|
|
},
|
|
})
|