Use ts to invalidate the browser image cache

This commit is contained in:
Girish Ramakrishnan
2021-04-30 16:05:04 -07:00
parent 80d00577e5
commit a3245278f0

View File

@@ -1955,7 +1955,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
Client.prototype._appPostProcess = function (app) {
// calculate the icon paths
app.iconUrl = app.iconUrl ? (this.apiOrigin + app.iconUrl + '?access_token=' + token + '&' + app.manifest.version) : null;
app.iconUrl = app.iconUrl ? (this.apiOrigin + app.iconUrl + '?access_token=' + token + '&ts=' + app.ts) : null;
// amend the post install confirm state
app.pendingPostInstallConfirmation = !!localStorage['confirmPostInstall_' + app.id];