mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-01 18:36:12 +02:00
wip
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user