Download studio/vite.config.js from shak3008/DiffWeave: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/spaces/shak3008/DiffWeave/resolve/main/studio/vite.config.js
- Command line
-
hf download hf://spaces/shak3008/DiffWeave/studio/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/spaces/shak3008/DiffWeave/resolve/main/studio/vite.config.js
283 Bytes
| import { defineConfig } from 'vite'; | |
| import react from '@vitejs/plugin-react'; | |
| export default defineConfig({ | |
| plugins: [react()], | |
| server: { | |
| port: 5174, | |
| proxy: { | |
| '/api': { | |
| target: 'http://localhost:7860', | |
| changeOrigin: true, | |
| }, | |
| }, | |
| }, | |
| }); | |