Files
Art-gallery/client/vite.config.ts
T
Danila KhodjaefandCursor 40db99d734 Initial commit: virtual art gallery application.
Express API with PostgreSQL, React/Vite/Three.js frontend, and locally cached artwork images.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 09:38:22 +03:00

13 lines
278 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': 'http://localhost:3001',
'/images': 'http://localhost:3001',
},
},
})