Skip to content

Commit 2d8e3f7

Browse files
committed
Use template literial instead of string concat
1 parent 935298b commit 2d8e3f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fastboot-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var FastBootHeaders = require('./fastboot-headers');
44
function FastBootRequest(request, hostWhitelist) {
55
this.hostWhitelist = hostWhitelist;
66

7-
this.protocol = request.protocol+':';
7+
this.protocol = `${request.protocol}:`;
88
this.headers = new FastBootHeaders(request.headers);
99
this.queryParams = request.query;
1010
this.path = request.url;

0 commit comments

Comments
 (0)