Getting environment variables from nextjs middleware

Like the title, I have put my supabase variables into wrangler.toml but I don't know how to load it to the middleware.
Was this page helpful?