Remove ios bandwidth limit
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user