Files
luminary/vite.config.ts
bhursey cd52a2f82f Initial commit: Luminary photo catalog and RAW editor
Browser-based photo catalog with an optional team server (SQLite + LibRaw).
Local database, uploaded photos, build output and dependencies are gitignored.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-23 15:19:25 +00:00

16 lines
368 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
/** Dev server proxies /api to the Luminary server on its default port. */
const API_TARGET = 'http://127.0.0.1:8787';
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': { target: API_TARGET, changeOrigin: false },
},
},
});