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
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user