Make the share url link to the actual item instead of github

This commit is contained in:
Bill Thornton 2020-05-20 17:03:01 -04:00
parent c766810000
commit e0c9c0566c

View file

@ -450,7 +450,7 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
navigator.share({ navigator.share({
title: item.Name, title: item.Name,
text: item.Overview, text: item.Overview,
url: 'https://github.com/jellyfin/jellyfin' url: `${apiClient.serverAddress()}/web/index.html#!/${appRouter.getRouteUrl(item)}`
}); });
break; break;
case 'album': case 'album':