Skip to content

Commit 2dd079c

Browse files
committed
Changing response.data in loadImage in Thumbnail.vue
1 parent da2d68c commit 2dd079c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-frontend-file-manager",
3-
"version": "3.0.15",
3+
"version": "3.0.16",
44
"description": "File manager for Laravel",
55
"keywords": [
66
"laravel",

src/components/manager/Thumbnail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
if (this.auth) {
7272
GET.thumbnail(this.disk, this.file.path).then((response) => {
7373
const mimeType = response.headers['content-type'].toLowerCase();
74-
const imgBase64 = Buffer.from(response.data, 'binary').toString('base64');
74+
//const imgBase64 = Buffer.from(response.data, 'binary').toString('base64');
7575
7676
this.src = `data:${mimeType};base64,${response.data}`;
7777
});

0 commit comments

Comments
 (0)