chimurai / http-proxy-middleware

:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
MIT License
10.7k stars 834 forks source link

fix(logger-plugin): fix next.js url logging (baseUrl not supported) #771

Closed chimurai closed 2 years ago

chimurai commented 2 years ago

Description

fixes

[HPM] GET undefinedundefined -> http://jsonplaceholder.typicode.com/users [304]

Motivation and Context

Next.js doesn't seem to expose the baseUrl (/api) ...

How has this been tested?

Manual

Types of changes

Checklist:

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 97.872% when pulling 339b7e323b67b801848d798686c87797af563821 on logger-plugin-nextjs-fix into 2d28db7ff063403079d090f000673c3f1995667d on master.