summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-13 12:05:24 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-13 12:05:24 +0900
commitb099ad2a30aac43c4dbe36864f9045a687cfd30b (patch)
treeb0ce9e32239420b02bb6e4e58a007aaf70f9a4ed /src/client
parentClean up (diff)
downloadsharkey-b099ad2a30aac43c4dbe36864f9045a687cfd30b.tar.gz
sharkey-b099ad2a30aac43c4dbe36864f9045a687cfd30b.tar.bz2
sharkey-b099ad2a30aac43c4dbe36864f9045a687cfd30b.zip
wip
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/url-preview.vue2
-rw-r--r--src/client/docs/layout.pug2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/url-preview.vue b/src/client/app/common/views/components/url-preview.vue
index e91e510550..fd25480f61 100644
--- a/src/client/app/common/views/components/url-preview.vue
+++ b/src/client/app/common/views/components/url-preview.vue
@@ -45,7 +45,7 @@ export default Vue.extend({
} else if (url.hostname == 'youtu.be') {
this.youtubeId = url.pathname;
} else {
- fetch('/api:url?url=' + this.url).then(res => {
+ fetch('/url?url=' + this.url).then(res => {
res.json().then(info => {
this.title = info.title;
this.description = info.description;
diff --git a/src/client/docs/layout.pug b/src/client/docs/layout.pug
index 29d2a3ff69..1d9ebcb4cd 100644
--- a/src/client/docs/layout.pug
+++ b/src/client/docs/layout.pug
@@ -6,7 +6,7 @@ html(lang= lang)
meta(name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no")
title
| #{title} | Misskey Docs
- link(rel="stylesheet" href="/assets/style.css")
+ link(rel="stylesheet" href="/docs/assets/style.css")
block meta
//- FontAwesome style