wip
This commit is contained in:
parent
f3c4152a68
commit
b099ad2a30
4 changed files with 18 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue