streamv2v_demo / frontend /vite.config.ts
jbilcke-hf's picture
jbilcke-hf HF staff
original code by JeffLiang and Radames
51669fc
raw
history blame contribute delete
No virus
303 Bytes
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
proxy: {
'/api': 'http://localhost:7860',
'/api/ws': {
target: 'ws://localhost:7860',
ws: true
}
},
}
});