This commit is contained in:
syuilo
2018-04-13 12:05:24 +09:00
parent f3c4152a68
commit b099ad2a30
4 changed files with 18 additions and 10 deletions

View File

@ -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;