fixes #1609 - Generated links are relative to site root
This commit is contained in:
parent
465824a5ed
commit
3889bc0a11
|
@ -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 New Issue
Block a user