File tree Expand file tree Collapse file tree 3 files changed +250
-277
lines changed Expand file tree Collapse file tree 3 files changed +250
-277
lines changed Original file line number Diff line number Diff line change @@ -1436,16 +1436,16 @@ class Server {
14361436 return level ;
14371437 } ;
14381438
1439- if ( typeof item . logLevel === "undefined" ) {
1440- item . logLevel = getLogLevelForProxy (
1439+ if ( typeof item . logger === "undefined" ) {
1440+ item . logger = getLogLevelForProxy (
14411441 compilerOptions . infrastructureLogging
14421442 ? compilerOptions . infrastructureLogging . level
14431443 : "info" ,
14441444 ) ;
14451445 }
14461446
1447- if ( typeof item . logProvider === "undefined" ) {
1448- item . logProvider = ( ) => this . logger ;
1447+ if ( typeof item . logger === "undefined" ) {
1448+ item . logger = ( ) => this . logger ;
14491449 }
14501450
14511451 return item ;
@@ -2262,10 +2262,10 @@ class Server {
22622262 if ( proxyConfig . target ) {
22632263 const context = proxyConfig . context || proxyConfig . path ;
22642264
2265- return createProxyMiddleware (
2266- /** @type { string } */ ( context ) ,
2267- proxyConfig ,
2268- ) ;
2265+ return createProxyMiddleware ( {
2266+ ... proxyConfig ,
2267+ pathFilter : /** @type { string } */ ( context ) ,
2268+ } ) ;
22692269 }
22702270
22712271 if ( proxyConfig . router ) {
You can’t perform that action at this time.
0 commit comments