Spaces:
Sleeping
Sleeping
Dhruva P Gowda
Deploy ShockMap MVP: High-fidelity UI overhaul, animated graph particles, live GDELT ingestion, and production scaffolding
f59a149 Download frontend/vite.config.js from shield137/shockmap-api: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/spaces/shield137/shockmap-api/resolve/main/frontend/vite.config.js
- Command line
-
hf download hf://spaces/shield137/shockmap-api/frontend/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/spaces/shield137/shockmap-api/resolve/main/frontend/vite.config.js
335 Bytes
| import { defineConfig } from 'vite'; | |
| import react from '@vitejs/plugin-react'; | |
| export default defineConfig({ | |
| plugins: [react()], | |
| server: { | |
| port: 5173, | |
| proxy: { | |
| '/api': { target: 'http://localhost:8080', changeOrigin: true }, | |
| '/healthz': { target: 'http://localhost:8080', changeOrigin: true }, | |
| }, | |
| }, | |
| }); | |