#!/bin/bash # Script til at disable alle deprecated ordrestyring endpoints # Restart server med nuværende ændringer pm2 restart unified-server echo "✅ Deprecated endpoints er nu disabled" echo "" echo "Følgende endpoints returnerer nu 503:" echo " - /api/ordrestyring/import" echo " - /api/ordrestyring/statistics" echo " - /api/ordrestyring/users" echo " - /api/ordrestyring/customers" echo " - /api/ordrestyring/cases" echo " - /api/ordrestyring/materials" echo " - mv andre..." echo "" echo "Aktive GraphQL endpoints:" echo " ✅ POST /api/ordrestyring/offers/create" echo " ✅ GET /api/calendar" echo " ✅ GET /api/calendar/stats" echo " ✅ GET /api/calendar/hour-types"