feat: browser cache directives

This commit is contained in:
Ramires Viana committed 2021-04-19 12:49:40 +00:00
1 parent 603203848a
commit 190cb99a79
10 files changed
+41 -11

No files matched your search

@@ -94,7 +94,7 @@ export default {
// reload the image when the file is replaced
const key = Date.parse(this.modified);
return `${baseURL}/api/preview/thumb/${path}?auth=${this.jwt}&inline=true&k=${key}`;
return `${baseURL}/api/preview/thumb/${path}?k=${key}&inline=true`;
},
isThumbsEnabled() {
return enableThumbs;