18 lines
446 B
JavaScript
18 lines
446 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
clearScreen: false,
|
|
server: {
|
|
open: true,
|
|
proxy: {
|
|
'/api/api-keys': 'http://localhost:8001',
|
|
'/api/settings': 'http://localhost:8001',
|
|
'/api/ollama-models': 'http://localhost:8001',
|
|
'/api/proxy-info': 'http://localhost:8001',
|
|
'/api': 'http://localhost:8000',
|
|
},
|
|
},
|
|
})
|