projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0892f75
)
Add author_url in oembed response
author
Chocobozzz
<me@florianbigard.com>
Wed, 27 Jun 2018 07:08:34 +0000
(09:08 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 27 Jun 2018 07:08:34 +0000
(09:08 +0200)
server/controllers/services.ts
patch
|
blob
|
history
diff --git
a/server/controllers/services.ts
b/server/controllers/services.ts
index 1dd8e28e5e1c64d39f6e5899c59ed52d57cdbf6a..bd4404b6222879c20e3104087c49af3c3e258b72 100644
(file)
--- a/
server/controllers/services.ts
+++ b/
server/controllers/services.ts
@@
-56,6
+56,7
@@
function generateOEmbed (req: express.Request, res: express.Response, next: expr
height: embedHeight,
title: video.name,
author_name: video.VideoChannel.Account.name,
+ author_url: video.VideoChannel.Account.Actor.url,
provider_name: 'PeerTube',
provider_url: webserverUrl
}