Closed xc1427 closed 1 year ago
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!
This pr given us fine-grained control of proxy options
function.
Would you like to fix this failing ci @xc1427
This PR does several things:
options
function now can returnfalse
. This allows the middleware to bail out even if path matching succeeds, which could be helpful if you need complex logic to determine whether to proxy or not.object-rest-spread is still in stage-3
related code.object-rest-spread
should be stable now.The modification should be backward compatible.