use template strings in readme es6
This commit is contained in:
parent
88c35c1a0e
commit
a13ae6fc95
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ app.use(function *(next){
|
|||
const start = new Date;
|
||||
yield next;
|
||||
const ms = new Date - start;
|
||||
console.log('%s %s - %s', this.method, this.url, ms);
|
||||
console.log(`${this.method} ${this.url} - ${ms}`);
|
||||
});
|
||||
|
||||
// response
|
||||
|
|
Loading…
Reference in a new issue