feat: CalDAV-Integration für Admin-Kalender
- Neue CalDAV-Route mit PROPFIND und GET-Endpoints - ICS-Format-Generator für Buchungsdaten - Token-basierte Authentifizierung für CalDAV-Zugriff - Admin-Interface mit CalDAV-Link-Generator - Schritt-für-Schritt-Anleitung für Kalender-Apps - 24h-Token-Ablaufzeit für Sicherheit - Unterstützung für Outlook, Google Calendar, Apple Calendar, Thunderbird Fixes: Admin kann jetzt Terminkalender in externen Apps abonnieren
This commit is contained in:
16
server-dist/rpc/legal.js
Normal file
16
server-dist/rpc/legal.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { os } from "@orpc/server";
|
||||
import { getLegalConfig } from "../lib/legal-config.js";
|
||||
export const router = {
|
||||
getConfig: os.handler(async () => {
|
||||
console.log("Legal getConfig called");
|
||||
try {
|
||||
const config = getLegalConfig();
|
||||
console.log("Legal config:", config);
|
||||
return config;
|
||||
}
|
||||
catch (error) {
|
||||
console.error("Legal config error:", error);
|
||||
throw error;
|
||||
}
|
||||
}),
|
||||
};
|
Reference in New Issue
Block a user