File size: 303 Bytes
cb92d2b
 
 
 
918ded4
 
 
995fb39
 
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: {
      '/api': 'http://localhost:7860',
      '/api/ws': {
        target: 'ws://localhost:7860',
        ws: true
      }
    },
  }
});