Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7a64560

Browse files
committedJun 17, 2021
Remove adress
1 parent fefbbfe commit 7a64560

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed
 

‎src/firmware-updater.js

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import { BehaviorSubject } from 'rxjs';
2-
import {
3-
takeUntil,
4-
filter,
5-
first
6-
} from 'rxjs/operators';
72
import semverCompare from 'semver-compare';
3+
import { takeUntil, filter, first } from 'rxjs/operators';
84
import { fwupdaterSignatures, oldFwupdaterSignatures } from './signatures';
95

106
/* The status of the Firmware Updater Tool */
@@ -191,18 +187,6 @@ export default class FirmwareUpdater {
191187
}
192188
});
193189

194-
let addresses = '';
195-
const rootCertificates = [{
196-
domain: 'arduino.cc',
197-
port: 443
198-
}];
199-
200-
rootCertificates.forEach(address => {
201-
if (address.domain && address.port) {
202-
addresses += `-address ${address.domain}:${address.port} `;
203-
}
204-
});
205-
206190
const [programmer, signature] = programmerFor(boardId);
207191

208192
if (!this.loaderPath) {
@@ -217,7 +201,7 @@ export default class FirmwareUpdater {
217201
hex: '',
218202
extra: {
219203
auth: {
220-
password: `"${this.loaderPath}" -firmware "${this.firmwareVersionData.Path}" ${addresses}`,
204+
password: `"${this.loaderPath}" -firmware "${this.firmwareVersionData.Path}"`,
221205
},
222206
},
223207
signature,

0 commit comments

Comments
 (0)
Please sign in to comment.