Files
portal/vite.config.ts
T
kerimatilganandClaude Opus 5.5 6606420b4a Handy-Insel Portal: Startseite, Kopfleiste und Authentik-Anbindung
- Portal mit Kacheln aus Authentik (pro Benutzer gefiltert) und "Aktuelles"
- Web-Component <hi-topbar> als zentraler App-Umschalter für alle Tools
- OIDC-Login über Authentik, zentrales Abmelden
- Setup-Skript für Authentik (Gruppen-Bindungen, Portal-App, Service-Account)
- Deployment auf den Portal-CT per systemd

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 12:18:32 +02:00

19 lines
477 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
root: 'frontend',
publicDir: '../public',
plugins: [react(), tailwindcss()],
build: { outDir: '../dist/public', emptyOutDir: true },
server: {
port: 5180,
proxy: {
'/api': 'http://localhost:3010',
'/auth': 'http://localhost:3010',
'/topbar.js': 'http://localhost:3010',
},
},
});