Skip to content

Commit 48a28e1

Browse files
committed
fix: replace template literals
1 parent 2dc128f commit 48a28e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dd.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export class DD {
3030
this.ddurl = window.location + opts.path;
3131
} else {
3232
// NodeJS support, uses opts.host and opts.port
33-
this.ddurl = `${(opts.https ? 'https://' : 'http://') + opts.host}:${
34-
opts.port
35-
}`;
33+
this.ddurl = opts.https ? 'https://' : 'http://';
34+
this.ddurl += opts.host;
35+
this.ddurl += opts.port;
3636
}
3737
}
3838

0 commit comments

Comments
 (0)