We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dc128f commit 48a28e1Copy full SHA for 48a28e1
src/dd.js
@@ -30,9 +30,9 @@ export class DD {
30
this.ddurl = window.location + opts.path;
31
} else {
32
// NodeJS support, uses opts.host and opts.port
33
- this.ddurl = `${(opts.https ? 'https://' : 'http://') + opts.host}:${
34
- opts.port
35
- }`;
+ this.ddurl = opts.https ? 'https://' : 'http://';
+ this.ddurl += opts.host;
+ this.ddurl += opts.port;
36
}
37
38
0 commit comments