Next.js 12 Edge Middleware Demo (Alpha)

Deploy to Netlify

Try the demo live here: https://next-edge-middleware.netlify.app/

Introduction

This is a simple demo of Next.js middleware running on Netlify Edge Functions. It consists of an SSR page with a middleware function that rewrites the URL with a geolocated country code parameter.