Fix jwt-token

This commit is contained in:
2025-08-17 09:21:05 +02:00
parent 3c8d5fab9d
commit d23d2dbbce
4 changed files with 311 additions and 94 deletions

12
clear_database.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Clear database via API calls (if we add the endpoint)
API_BASE="http://selfservice.cqers.com/drones/api"
echo "🗑️ Clearing database via API..."
# Clear detections
curl -X DELETE "$API_BASE/detections/clear" \
-H "Content-Type: application/json"
echo "✅ Database cleared"