From 743ebc17b9c7643b8c92389defe106ebea188400 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 18 Aug 2019 20:25:12 +0900 Subject: [PATCH] Fix #5291 (#5294) --- src/client/app/common/views/pages/room/room.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/app/common/views/pages/room/room.vue b/src/client/app/common/views/pages/room/room.vue index 4108b47c7..4b70b6244 100644 --- a/src/client/app/common/views/pages/room/room.vue +++ b/src/client/app/common/views/pages/room/room.vue @@ -57,6 +57,7 @@ import XPreview from './preview.vue'; const storeItems = require('../../../scripts/room/furnitures.json5'); import { faBoxOpen, faUndo, faArrowsAlt, faBan } from '@fortawesome/free-solid-svg-icons'; import { faSave, faTrashAlt } from '@fortawesome/free-regular-svg-icons'; +import { query as urlQuery } from '../../../../../../prelude/url'; let room: Room; @@ -155,7 +156,7 @@ export default Vue.extend({ this.$chooseDriveFile({ multiple: false }).then(file => { - room.updateProp(key, file.thumbnailUrl); + room.updateProp(key, `/proxy/?${urlQuery({ url: file.thumbnailUrl })}`); this.$refs.preview.selected(room.getSelectedObject()); }); },