diff --git a/services/web/frontend/js/cdn-load-test.js b/services/web/frontend/js/cdn-load-test.js index a89a4e2bb3..7a281c78bc 100644 --- a/services/web/frontend/js/cdn-load-test.js +++ b/services/web/frontend/js/cdn-load-test.js @@ -6,4 +6,10 @@ if (window.ExposedSettings.isOverleaf) { captureMessage('CDN test image load error (cdn.overleaf.net)') }) cdnLoadTest.src = 'https://cdn.overleaf.net/img/1p.gif' + + const cdnLoadTestOld = document.createElement('img') + cdnLoadTestOld.addEventListener('error', function () { + captureMessage('CDN test image load error (cdn.overleaf.com)') + }) + cdnLoadTestOld.src = 'https://cdn.overleaf.com/img/1p.gif' }