vagusX / koa-proxies

a koa@2.x+ proxy middleware
https://vagusx.github.io/koa-proxies/
MIT License
161 stars 44 forks source link

feat: options function return false, fix default logger #74

Closed xc1427 closed 1 year ago

xc1427 commented 1 year ago

This PR does several things:

The modification should be backward compatible.

codecov[bot] commented 1 year ago

Codecov Report

Merging #74 (4b70398) into master (15d3f1c) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #74   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           62        67    +5     
  Branches        14        17    +3     
=========================================
+ Hits            62        67    +5     
Files Coverage Δ
index.js 100.00% <100.00%> (ø)

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

vagusX commented 1 year ago

This pr given us fine-grained control of proxy options function.

Would you like to fix this failing ci @xc1427

vagusX commented 1 year ago