fixes #1609 - Generated links are relative to site root
This commit is contained in:
parent
84bc124a55
commit
c079d4b7c2
|
@ -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