Update app-bridge.ts (#127)
This commit is contained in:
parent
7d7ff1e562
commit
063e56f345
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ export class AppBridge {
|
|||
debug("?domain was not found in iframe url");
|
||||
}
|
||||
|
||||
if (!(this.combinedOptions.saleorApiUrl && this.combinedOptions.targetDomain)) {
|
||||
if (!(this.combinedOptions.saleorApiUrl || this.combinedOptions.targetDomain)) {
|
||||
console.error(
|
||||
"domain and saleorApiUrl params were not found in iframe url. Ensure at least one of them is present"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue