Spaces:
Running
Running
Download vite.config.js from mb672038/python-mastery-academy: direct link, hf CLI and curl.
- Browser
- Download file 260 Bytes
-
https://huggingface.co/spaces/mb672038/python-mastery-academy/resolve/main/vite.config.js
- Command line
-
hf download hf://spaces/mb672038/python-mastery-academy/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/spaces/mb672038/python-mastery-academy/resolve/main/vite.config.js
260 Bytes
| import { defineConfig } from 'vite' | |
| import react from '@vitejs/plugin-react' | |
| export default defineConfig({ | |
| plugins: [react()], | |
| server: { | |
| proxy: { | |
| '/api': { | |
| target: 'http://localhost:5000', | |
| changeOrigin: true, | |
| } | |
| } | |
| } | |
| }) |