Spaces:
Sleeping
Sleeping
Download frontend/vite.config.js from SeventhSenseAI/face-recognition: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/spaces/SeventhSenseAI/face-recognition/resolve/main/frontend/vite.config.js
- Command line
-
hf download hf://spaces/SeventhSenseAI/face-recognition/frontend/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/spaces/SeventhSenseAI/face-recognition/resolve/main/frontend/vite.config.js
269 Bytes
| import { defineConfig } from 'vite' | |
| import react from '@vitejs/plugin-react' | |
| export default defineConfig({ | |
| plugins: [react()], | |
| build: { | |
| outDir: '../static', | |
| emptyOutDir: true | |
| }, | |
| server: { | |
| proxy: { | |
| '/api': 'http://localhost:7860' | |
| } | |
| } | |
| }) | |