Download vite.config.ts from codebydante/twistedbrodymangaflowbot: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/spaces/codebydante/twistedbrodymangaflowbot/resolve/main/vite.config.ts
- Command line
-
hf download hf://spaces/codebydante/twistedbrodymangaflowbot/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/spaces/codebydante/twistedbrodymangaflowbot/resolve/main/vite.config.ts
395 Bytes
| import { defineConfig } from 'vite'; | |
| import react from '@vitejs/plugin-react'; | |
| // https://vitejs.dev/config/ | |
| export default defineConfig({ | |
| plugins: [react()], | |
| optimizeDeps: { | |
| exclude: ['lucide-react', 'sharp'], | |
| }, | |
| server: { | |
| port: 3000, | |
| proxy: { | |
| '/api': { | |
| target: 'http://localhost:7860', | |
| changeOrigin: true, | |
| }, | |
| }, | |
| }, | |
| }); | |