import { Router } from 'express'; import * as controller from '../controllers/consent-public.controller.js'; const router = Router(); // Öffentliche Routes - KEINE Authentifizierung erforderlich router.get('/:hash', controller.getConsentPage); router.post('/:hash/grant', controller.grantAllConsents); router.get('/:hash/pdf', controller.getConsentPdf); export default router;