fix filename not recognized in generated custom link (#612)
This commit is contained in:
parent
a83c173eba
commit
c8eabcbe11
1 changed files with 2 additions and 2 deletions
|
@ -111,13 +111,13 @@ export default function CustomEmbedLinkMenu({
|
|||
/>
|
||||
<LinkContainer
|
||||
title={t('Customised')}
|
||||
value={`${getBaseUrl()}/api/name/${name}/?path=${readablePath}${
|
||||
value={`${getBaseUrl()}/api/name/${name}?path=${readablePath}${
|
||||
hashedToken ? `&odpt=${hashedToken}` : ''
|
||||
}`}
|
||||
/>
|
||||
<LinkContainer
|
||||
title={t('Customised and encoded')}
|
||||
value={`${getBaseUrl()}/api/name/${name}/?path=${path}${hashedToken ? `&odpt=${hashedToken}` : ''}`}
|
||||
value={`${getBaseUrl()}/api/name/${name}?path=${path}${hashedToken ? `&odpt=${hashedToken}` : ''}`}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue