You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
275 B
12 lines
275 B
import { defineConfig } from 'vite';
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:8819',
|
|
'^/[a-zA-Z0-9]{7}$': 'http://localhost:8819'
|
|
}
|
|
}
|
|
});
|
|
|