File size: 299 Bytes
d3f86d8
 
 
 
 
 
 
7b8563d
 
 
 
 
 
 
 
d3f86d8
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';

export default defineConfig({
	plugins: [sveltekit()],
	server: {
		port: 11111,
		host: true,
		proxy: {
			'/api': {
				target: 'http://localhost:7860',
				changeOrigin: true,
				secure: false
			}
		}
	}
});