File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ exports.run = (options) => {
69
69
70
70
format = format . replace ( / % d a t e / g, "\x1b[90m" + '[' + ( moment ( ) . format ( dateFormat ) ) + ']' + "\x1b[0m" ) ;
71
71
format = format . replace ( / % m e t h o d / g, "\x1b[35m" + ( req . method . toUpperCase ( ) ) + "\x1b[0m" ) ;
72
- format = format . replace ( / % u r l / g, "\x1b[90m" + options . cwd + decodeURI ( req . originalUrl ) + "\x1b[0m" ) ;
72
+ format = format . replace ( / % u r l / g, "\x1b[90m" + decodeURI ( req . originalUrl ) + "\x1b[0m" ) ;
73
73
format = format . replace ( / % s t a t u s / g, "" + status + res . statusCode + "\x1b[0m" ) ;
74
74
format = format . replace ( / % r o u t e / g, "\x1b[90m" + ( req . route ? req . route . path + ' ' : '\x1b[31m' ) + "\x1b[0m" ) ;
75
75
format = format . replace ( / % c o n t e n t L e n g t h / g, "\x1b[90m" + contentLength + '\x1b[31m' + "\x1b[0m" ) ;
You can’t perform that action at this time.
0 commit comments