You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leaving this as a guide for the next soul trying it.
constURLS_ALLOWED=["https://stately.ai/inspect","https://stately.ai/registry/inspect","http://localhost",];constDOMAINS_ALLOW_LIST=["localhost"];applicationWindow.webContents.setWindowOpenHandler((event: any)=>{constinfo=newURL(event.url);if(!URLS_ALLOWED.includes(event.url)){if(!DOMAINS_ALLOW_LIST.includes(info.hostname)){logger.error("Security issue - attempt to open a domain that is not allowed",info);return{action: "deny"};}}return{action: "allow"};});
The text was updated successfully, but these errors were encountered:
Leaving this as a guide for the next soul trying it.
The text was updated successfully, but these errors were encountered: