File size: 484 Bytes
4ac90cc
 
3f29b72
909a85b
 
1170ca2
 
 
 
 
 
 
 
909a85b
1170ca2
 
 
 
 
 
 
69269d5
 
1170ca2
909a85b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";

// https://vitejs.dev/config/
export default defineConfig({
  build: {
    target: "esnext",
  },
  plugins: [react()],
  resolve: {
    alias: {
      "@": resolve(__dirname, "./src"),
    },
  },
  server: {
    proxy: {
      'http://localhost:11434': {
        target: 'http://localhost:11434',
        changeOrigin: true,
        secure: false,
      }
    }
  }
});