avoid browser caching of svg files to enable upload with same name.
This commit is contained in:
parent
7248a78053
commit
3c32224a48
1 changed files with 1 additions and 2 deletions
|
|
@ -366,8 +366,7 @@ $(function(){
|
|||
|
||||
self._getSVGserveUrl = function(file){
|
||||
if (file && file["refs"] && file["refs"]["download"]) {
|
||||
var url = file.refs.download.replace("downloads", "serve");
|
||||
console.log(url);
|
||||
var url = file.refs.download.replace("downloads", "serve") +'?'+ Date.now(); // be sure to avoid caching.
|
||||
return url;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue