mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Remove CDN load test (#17308)
GitOrigin-RevId: 6f8f840bb8a3db0944179c7c25b89f1793f033bc
This commit is contained in:
parent
ef6644f519
commit
7b93640b96
5 changed files with 0 additions and 19 deletions
|
@ -1,15 +0,0 @@
|
|||
import { captureMessage } from './infrastructure/error-reporter'
|
||||
|
||||
if (window.ExposedSettings.isOverleaf) {
|
||||
const cdnLoadTest = document.createElement('img')
|
||||
cdnLoadTest.addEventListener('error', function () {
|
||||
captureMessage('CDN test 2 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 2 image load error (cdn.overleaf.com)')
|
||||
})
|
||||
cdnLoadTestOld.src = 'https://cdn.overleaf.com/img/1p.gif'
|
||||
}
|
|
@ -17,7 +17,6 @@ import './main/subscription/team-invite-controller' // used in subscriptions/tea
|
|||
import './directives/eventTracking' // used in lots of places
|
||||
import './features/cookie-banner'
|
||||
import '../../modules/modules-main'
|
||||
import './cdn-load-test' // TODO: remove this?
|
||||
import { debugConsole } from '@/utils/debugging'
|
||||
angular.module('OverleafApp').config([
|
||||
'$locationProvider',
|
||||
|
|
|
@ -2,7 +2,6 @@ import './utils/webpack-public-path'
|
|||
import './infrastructure/error-reporter'
|
||||
import 'jquery'
|
||||
import 'bootstrap'
|
||||
import './cdn-load-test'
|
||||
import './features/form-helpers/hydrate-form'
|
||||
import './features/link-helpers/slow-link'
|
||||
import './features/bookmarkable-tab'
|
||||
|
|
|
@ -4,7 +4,6 @@ import './../utils/meta'
|
|||
import './../utils/webpack-public-path'
|
||||
import './../infrastructure/error-reporter'
|
||||
import './../i18n'
|
||||
import '../cdn-load-test'
|
||||
import '../features/contact-form'
|
||||
import '../features/event-tracking'
|
||||
import '../features/cookie-banner'
|
||||
|
|
|
@ -4,7 +4,6 @@ import './../../../utils/meta'
|
|||
import './../../../utils/webpack-public-path'
|
||||
import './../../../infrastructure/error-reporter'
|
||||
import './../../../i18n'
|
||||
import '../../../cdn-load-test'
|
||||
import '../../../features/contact-form'
|
||||
import '../../../features/event-tracking'
|
||||
import '../../../features/cookie-banner'
|
||||
|
|
Loading…
Reference in a new issue