IP Blocking with Datadome

With Vercel's Edge Middleware we're able to excecute functions at the edge level and act on mid-flight requests instantly. This example uses DataDome's low-latency Custom Rules API that allows us to block certain IPs.

Loading Rules...