Files
guyg1474andClaude Opus 5.5 dd58b3d1f8 P42 Dashboard: erster Stand
FastAPI-Backend und React-Frontend mit Konten, Sendungsverfolgung,
Projekt-Artikeln, Vorrat & Einkauf mit Rezeptabgleich, Reise-Weltkarte,
Kanban-Projekten mit Priorität, Server-Monitoring und den Designs
Matrix und Blackwall. Betrieb per Docker hinter nginx (siehe DEPLOY.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 14:08:11 +02:00

16 lines
380 B
JavaScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// Im Entwicklungsmodus leitet Vite API- und Bild-Anfragen an das Python-Backend weiter
const backend = process.env.BACKEND_URL || 'http://localhost:3000';
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': backend,
'/uploads': backend,
},
},
});