added protocoll to share url

This commit is contained in:
Anton Tranelis 2024-11-07 08:16:32 +01:00
parent 393ab6ef4c
commit 2bc5b95151

View File

@ -30,7 +30,7 @@ export const GroupSubHeaderView = ({
url={
shareBaseUrl && item.slug
? shareBaseUrl + item.slug
: window.location.host + '/item/' + item.id
: window.location.protocol + '//' + window.location.host + '/item/' + item.id
}
title={item.name}
/>