#!/bin/bash
# Usage: ./dismiss.sh
set -euo pipefail
PORT="${DASHBOARD_PORT:-3000}"
curl -sf -X DELETE "http://localhost:${PORT}/api/alert" \
&& echo "✓ Alerte révoquée" \
|| echo "✗ Serveur non disponible sur le port ${PORT}"