Przeglądaj źródła

HUE-5446 [assist] Include hostname in cache identifier

Johan Ahlen 9 lat temu
rodzic
commit
1ba9259

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/apiHelper.js

@@ -104,7 +104,7 @@ var ApiHelper = (function () {
    */
    */
   ApiHelper.prototype.getTotalStorageUserPrefix = function (sourceType) {
   ApiHelper.prototype.getTotalStorageUserPrefix = function (sourceType) {
     var self = this;
     var self = this;
-    return sourceType + "_" + self.user;
+    return sourceType + '_' + self.user + '_' + window.location.hostname;
   };
   };
 
 
   /**
   /**