Skip to content

Commit

Permalink
Do not require or fetch the unused etag
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
ChristophWurst authored and nextcloud-command committed Aug 24, 2022
1 parent a9d44c5 commit 7dbc7be
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions src/components/Images.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ export default {
},
props: {
// file etag, used for cache reset
etag: {
type: String,
required: true,
},
editing: {
type: Boolean,
default: false,
Expand Down
1 change: 0 additions & 1 deletion src/services/FileInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default async function(path, options) {
xmlns:ocs="http://open-collaboration-services.org/ns">
<d:prop>
<d:getlastmodified />
<d:getetag />
<d:getcontenttype />
<d:resourcetype />
<oc:fileid />
Expand Down
1 change: 0 additions & 1 deletion src/services/FileList.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default async function(path, options) {
xmlns:ocs="http://open-collaboration-services.org/ns">
<d:prop>
<d:getlastmodified />
<d:getetag />
<d:getcontenttype />
<d:resourcetype />
<oc:fileid />
Expand Down
1 change: 0 additions & 1 deletion src/services/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import Audios from '../models/audios.js'
* @property {string} basename the full path of the file
* @property {?string} source absolute path of a non-dav file, e.g. a static resource or provided by an app route
* @property {string} mime file MIME type in the format type/sub-type
* @property {string} etag WebDAV etag
* @property {boolean} hasPreview is there a WebDAV preview of this file?
* @property {number} fileid Nextcloud file ID
*/
Expand Down

0 comments on commit 7dbc7be

Please sign in to comment.