Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/app-bridge/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ function withActionId<Name extends ActionType, Payload extends {}, T extends Act
},
};
} catch (e) {
throw new Error("Failed to generate action ID. Please ensure you are using https or localhost");
throw new Error(
"Failed to generate action ID, likely as your browser doesn't consider current session as Secure Context. Please ensure you are using https or localhost, or current IP/domain is in 'dom.securecontext.allowlist'/'#unsafely-treat-insecure-origin-as-secure' if you trust it.",
);
}
}

Expand Down
Loading