Spaces:
Sleeping
Sleeping
File size: 325 Bytes
cb92d2b 918ded4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
proxy: {
'^/settings|/queue_size|/stream': 'http://localhost:7860',
'/ws': {
target: 'ws://localhost:7860',
ws: true
}
},
}
}); |