From 3c3d3e4c0c187815b47c9bf01b699a5f6518808a Mon Sep 17 00:00:00 2001 From: mei23 Date: Thu, 16 Aug 2018 03:05:28 +0900 Subject: [PATCH] Fix url-preview.vue --- src/client/app/common/views/components/url-preview.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/app/common/views/components/url-preview.vue b/src/client/app/common/views/components/url-preview.vue index 4466cf7165..95dafa8f4c 100644 --- a/src/client/app/common/views/components/url-preview.vue +++ b/src/client/app/common/views/components/url-preview.vue @@ -160,12 +160,12 @@ export default Vue.extend({ 'web.tv', 'youtube.com', 'youtu.be' - ].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`)))) + ].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`))) this.player = info.player; - } - }); - } - } + } // info.url + }) // json + }); // fetch + } // created });