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 {
1436
1436
return level ;
1437
1437
} ;
1438
1438
1439
- if ( typeof item . logLevel === "undefined" ) {
1440
- item . logLevel = getLogLevelForProxy (
1439
+ if ( typeof item . logger === "undefined" ) {
1440
+ item . logger = getLogLevelForProxy (
1441
1441
compilerOptions . infrastructureLogging
1442
1442
? compilerOptions . infrastructureLogging . level
1443
1443
: "info" ,
1444
1444
) ;
1445
1445
}
1446
1446
1447
- if ( typeof item . logProvider === "undefined" ) {
1448
- item . logProvider = ( ) => this . logger ;
1447
+ if ( typeof item . logger === "undefined" ) {
1448
+ item . logger = ( ) => this . logger ;
1449
1449
}
1450
1450
1451
1451
return item ;
@@ -2262,10 +2262,10 @@ class Server {
2262
2262
if ( proxyConfig . target ) {
2263
2263
const context = proxyConfig . context || proxyConfig . path ;
2264
2264
2265
- return createProxyMiddleware (
2266
- /** @type { string } */ ( context ) ,
2267
- proxyConfig ,
2268
- ) ;
2265
+ return createProxyMiddleware ( {
2266
+ ... proxyConfig ,
2267
+ pathFilter : /** @type { string } */ ( context ) ,
2268
+ } ) ;
2269
2269
}
2270
2270
2271
2271
if ( proxyConfig . router ) {
You can’t perform that action at this time.
0 commit comments