mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 20:08:59 +02:00
fixes #1609 - Generated links are relative to site root
This commit is contained in:
parent
465824a5ed
commit
3889bc0a11
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ namespace MediaBrowser.Server.Implementations.Social
|
||||||
var externalUrl = _appHost.GetSystemInfo().WanAddress;
|
var externalUrl = _appHost.GetSystemInfo().WanAddress;
|
||||||
|
|
||||||
info.ImageUrl = externalUrl + "/Social/Shares/Public/" + info.Id + "/Image";
|
info.ImageUrl = externalUrl + "/Social/Shares/Public/" + info.Id + "/Image";
|
||||||
info.Url = externalUrl + "/web/shared.html?id=" + info.Id;
|
info.Url = externalUrl + "/emby/web/shared.html?id=" + info.Id;
|
||||||
|
|
||||||
var item = _libraryManager.GetItemById(info.ItemId);
|
var item = _libraryManager.GetItemById(info.ItemId);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue