Closed TomaszG closed 4 months ago
Check if the next function is defined/provided before executing it
Fixes #870
Verified whether the error is not thrown when middleware receives a route that doesn't match the filter.
Next.js is supported in: https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.0
Description
Check if the next function is defined/provided before executing it
Motivation and Context
Fixes #870
How has this been tested?
Verified whether the error is not thrown when middleware receives a route that doesn't match the filter.
Types of changes
Checklist: