- Simplified .env.example to use localhost SPEACHES_URL - Removed unused prod_url from SpeachesSettings config - Added dashboard node_modules and build dirs to .gitignore - Streamlines local development setup
14 lines
327 B
TypeScript
14 lines
327 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit(), tailwindcss()],
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:8000',
|
|
'/ws': { target: 'ws://localhost:8000', ws: true },
|
|
},
|
|
},
|
|
});
|