mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
fix filename not recognized in generated custom link (#612)
This commit is contained in:
@@ -111,13 +111,13 @@ export default function CustomEmbedLinkMenu({
|
|||||||
/>
|
/>
|
||||||
<LinkContainer
|
<LinkContainer
|
||||||
title={t('Customised')}
|
title={t('Customised')}
|
||||||
value={`${getBaseUrl()}/api/name/${name}/?path=${readablePath}${
|
value={`${getBaseUrl()}/api/name/${name}?path=${readablePath}${
|
||||||
hashedToken ? `&odpt=${hashedToken}` : ''
|
hashedToken ? `&odpt=${hashedToken}` : ''
|
||||||
}`}
|
}`}
|
||||||
/>
|
/>
|
||||||
<LinkContainer
|
<LinkContainer
|
||||||
title={t('Customised and encoded')}
|
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>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user