don't record app open in iframe env

This commit is contained in:
Nariman Jelveh
2026-07-17 11:42:48 -07:00
parent 2479e6a064
commit aab21ef91d
+3 -1
View File
@@ -701,7 +701,9 @@ const puterInit = function () {
async request_rao_() {
await this.p_can_request_rao_;
if (this.env === 'gui') {
// Don't record an app open when running inside the Puter GUI, or
// when running as a Puter app (i.e. within an iframe in the GUI).
if (this.env === 'gui' || this.env === 'app') {
return;
}