Allow firefox relay service in generator (#1723)
* Allow firefox relay service in generator * Update generator.component.ts * Update generator.component.ts * make pretty
This commit is contained in:
parent
d7dd2435fc
commit
52406bc969
|
@ -40,11 +40,13 @@ export class GeneratorComponent extends BaseGeneratorComponent {
|
||||||
route,
|
route,
|
||||||
window
|
window
|
||||||
);
|
);
|
||||||
// Cannot use Firefox Relay on the web vault yet due to CORS issues with Firefox Relay API
|
if (platformUtilsService.isSelfHost()) {
|
||||||
this.forwardOptions.splice(
|
// Cannot use Firefox Relay on self hosted web vaults due to CORS issues with Firefox Relay API
|
||||||
this.forwardOptions.findIndex((o) => o.value === "firefoxrelay"),
|
this.forwardOptions.splice(
|
||||||
1
|
this.forwardOptions.findIndex((o) => o.value === "firefoxrelay"),
|
||||||
);
|
1
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async history() {
|
async history() {
|
||||||
|
|
Loading…
Reference in New Issue