summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-07-06 22:53:15 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-07-06 22:53:15 +0900
commit067e9ec6f4ca6f6741456f7d46bf8b237edffa77 (patch)
treeab330ce78c160329119b6b372b367cce6b6bbcec /src/client/app
parentMisskeyPagesにイベント送信ボタンを追加 (diff)
downloadsharkey-067e9ec6f4ca6f6741456f7d46bf8b237edffa77.tar.gz
sharkey-067e9ec6f4ca6f6741456f7d46bf8b237edffa77.tar.bz2
sharkey-067e9ec6f4ca6f6741456f7d46bf8b237edffa77.zip
Fix bug
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/common/views/components/url-preview.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/app/common/views/components/url-preview.vue b/src/client/app/common/views/components/url-preview.vue
index 20fbcbb046..476c671e77 100644
--- a/src/client/app/common/views/components/url-preview.vue
+++ b/src/client/app/common/views/components/url-preview.vue
@@ -63,6 +63,7 @@ export default Vue.extend({
data() {
const isSelf = this.url.startsWith(local);
const hasRoute =
+ (this.url.substr(local.length) === '/') ||
this.url.substr(local.length).startsWith('/@') ||
this.url.substr(local.length).startsWith('/notes/') ||
this.url.substr(local.length).startsWith('/pages/');