this.format = fluidbook.settings.imageFormat;
this.imageMimeType = this.format === 'jpg' ? 'image/jpeg' : 'image/png';
this._needSeparateTextures = [];
- this.loadbalancing = false;
this._loadbalancingServerURL = {};
this._textureAssetsCache = {};
+ this.loadbalancing = false;
+ if (this.fluidbook.settings.hosting_loadbalancer) {
+ this.loadbalancing = ['s1.lb.fluidbook.com'];
+ }
}
FluidbookLoader.prototype = {
init: function (callback) {
let $this = this;
if (this.fluidbook.settings.hosting_loadbalancer) {
-
- $this.loadbalancing = ['s1.lb.fluidbook.com'];
-
+ this.loadbalancing = ['s1.lb.fluidbook.com'];
this._loadbalancingServerURL = this.fluidbook.cache.get('_loadbalancingServerURL', {});
setInterval(function () {