hfstudio / frontend /vite.config.js
GitHub Action
Sync from GitHub: 66a7002ce67b36480422033a80270412b21f5553
7b8563d
raw
history blame contribute delete
299 Bytes
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
}
}
}
});