We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeaa7d2 commit fe0537dCopy full SHA for fe0537d
ts/run.tsx
@@ -255,12 +255,11 @@ class Launcher {
255
}
256
257
if (url.match(/^\//) && location && location.protocol) {
258
- let old = url;
259
url = location.protocol + url;
260
261
- var opts = URL.parse(url) as any;
+ let opts = URL.parse(url) as any;
262
opts.withCredentials = false;
263
- (opts.protocol == 'https:' ? https : http).get(opts, (message:http.IncomingMessage) => {
+ ((opts.protocol == 'https:' ? https : http) as any).get(opts, (message:http.IncomingMessage) => {
264
let success = (message.statusCode == 200);
265
this.track("replay_load_error", {error: success ? "f" : "t"}, {statusCode: message.statusCode});
266
if (!success) {
0 commit comments