diff --git a/lib/renderer/security-warnings.js b/lib/renderer/security-warnings.js index 3c264412f2e7..4f7d6ef9e596 100644 --- a/lib/renderer/security-warnings.js +++ b/lib/renderer/security-warnings.js @@ -111,7 +111,7 @@ module.exports = { const resources = window.performance .getEntriesByType('resource') - .filter(({ name }) => /^(http|ftp):?/gi.test(name || '')) + .filter(({ name }) => /^(http|ftp):/gi.test(name || '')) .map(({ name }) => `- ${name}`) .join('\n')