From 9e3ca71b919355daaca1775380e7b362a2f8115a Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Sat, 27 Feb 2021 23:30:14 -0500 Subject: [PATCH] Remove ios bandwidth limit --- src/components/appRouter.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/components/appRouter.js b/src/components/appRouter.js index b03773c430..c14434180d 100644 --- a/src/components/appRouter.js +++ b/src/components/appRouter.js @@ -471,18 +471,9 @@ class AppRouter { return null; } - getMaxBandwidthIOS() { - return 800000; - } - onApiClientCreated(e, newApiClient) { newApiClient.normalizeImageOptions = this.normalizeImageOptions; - - if (browser.iOS) { - newApiClient.getMaxBandwidth = this.getMaxBandwidthIOS; - } else { - newApiClient.getMaxBandwidth = this.getMaxBandwidth; - } + newApiClient.getMaxBandwidth = this.getMaxBandwidth; Events.off(newApiClient, 'requestfail', this.onRequestFail); Events.on(newApiClient, 'requestfail', this.onRequestFail);