Spaces:
Running
Running
samsadar236
feat: deploy ControlPlane.ai — updated backend, frontend redesign, Responsible AI Gate
54f341c Download frontend/vite.config.js from samruddhisadar/gradeops: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/samruddhisadar/gradeops/resolve/main/frontend/vite.config.js
- Command line
-
hf download hf://spaces/samruddhisadar/gradeops/frontend/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/spaces/samruddhisadar/gradeops/resolve/main/frontend/vite.config.js
358 Bytes
| import { defineConfig } from 'vite' | |
| import react from '@vitejs/plugin-react' | |
| // Proxy /api/* to the FastAPI backend at 8000 so we don't fight CORS in dev. | |
| export default defineConfig({ | |
| plugins: [react()], | |
| server: { | |
| port: 5173, | |
| proxy: { | |
| '/api': { | |
| target: 'http://localhost:8000', | |
| changeOrigin: true, | |
| }, | |
| }, | |
| }, | |
| }) | |