Merge pull request #1283 from thornbill/make-sharing-suck-less

Make the share url link to the actual item instead of github
This commit is contained in:
Anthony Lavado 2020-05-20 17:09:28 -04:00 committed by GitHub
commit 68748f126b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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':