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,
|
||||
window
|
||||
);
|
||||
// Cannot use Firefox Relay on the web vault yet due to CORS issues with Firefox Relay API
|
||||
this.forwardOptions.splice(
|
||||
this.forwardOptions.findIndex((o) => o.value === "firefoxrelay"),
|
||||
1
|
||||
);
|
||||
if (platformUtilsService.isSelfHost()) {
|
||||
// Cannot use Firefox Relay on self hosted web vaults due to CORS issues with Firefox Relay API
|
||||
this.forwardOptions.splice(
|
||||
this.forwardOptions.findIndex((o) => o.value === "firefoxrelay"),
|
||||
1
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
async history() {
|
||||
|
|
Loading…
Reference in New Issue