Check middleware.js to see how context foo is set to bar.
middleware.js
foo
bar
Test getContext in a API route on the node runtime.
getContext
Test getContext in a API route on the edge runtime.
Test getContext in a page on the Node runtime.
Test getContext in a page on the edge runtime.