mirror of
https://github.com/open-webui/computer.git
synced 2026-11-23 14:10:45 -05:00
22 lines
425 B
TypeScript
22 lines
425 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit(), tailwindcss()],
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:9741',
|
|
changeOrigin: true,
|
|
ws: true
|
|
},
|
|
'/socket.io': {
|
|
target: 'http://localhost:9741',
|
|
changeOrigin: true,
|
|
ws: true
|
|
}
|
|
}
|
|
}
|
|
});
|