Explorar o código

HUE-5446 [assist] Include hostname in cache identifier

Johan Ahlen %!s(int64=9) %!d(string=hai) anos
pai
achega
1ba9259a7d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/apiHelper.js

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

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