Spaces:
Paused
Paused
Download web/vite.config.js from secutorpro/dispatch-console: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/spaces/secutorpro/dispatch-console/resolve/main/web/vite.config.js
- Command line
-
hf download hf://spaces/secutorpro/dispatch-console/web/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/spaces/secutorpro/dispatch-console/resolve/main/web/vite.config.js
269 Bytes
| import { defineConfig } from 'vite'; | |
| import react from '@vitejs/plugin-react'; | |
| export default defineConfig({ | |
| plugins: [react()], | |
| server: { | |
| proxy: { | |
| '/api': 'http://localhost:8080', | |
| '/ws': { target: 'ws://localhost:8080', ws: true }, | |
| }, | |
| }, | |
| }); |