mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
8 lines
295 B
JavaScript
8 lines
295 B
JavaScript
|
import { captureMessage } from './infrastructure/error-reporter'
|
||
|
|
||
|
var cdnLoadTest = document.createElement('img')
|
||
|
cdnLoadTest.addEventListener('error', function (event) {
|
||
|
captureMessage('CDN test image load error (cdn.overleaf.net)')
|
||
|
})
|
||
|
cdnLoadTest.src = 'https://cdn.overleaf.net/img/1p.gif'
|