We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32926b8 commit cce5cd7Copy full SHA for cce5cd7
src/containers/tw-security-manager.jsx
@@ -281,6 +281,7 @@ class TWSecurityManagerComponent extends React.Component {
281
if (isAlwaysTrustedForFetching(parsed)) {
282
return true;
283
}
284
+ const origin = (parsed.protocol === 'http:' || parsed.protocol === 'https:') ? parsed.origin : null;
285
const {showModal, releaseLock} = await this.acquireModalLock();
286
if (fetchOriginsTrustedByUser.has(origin)) {
287
releaseLock();
0 commit comments