File size: 367 Bytes
246efdb
 
 
cb92d2b
 
246efdb
918ded4
 
246efdb
 
 
 
 
 
 
fe66ec6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { sveltekit } from "@sveltejs/kit/vite";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vite";

export default defineConfig({
  plugins: [tailwindcss(), sveltekit()],
  server: {
    proxy: {
      "/api": "http://localhost:7860",
      "/api/ws": {
        target: "ws://localhost:7860",
        ws: true,
      },
    },
  },
});