Updated the download link to retain file extension.
Updated the download URL to retain the file extension. Before, when you would download the file it would not append the file extension, this will fix that.
This commit is contained in:
parent
27cbe26936
commit
961700390a
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class AssetInfo extends React.Component {
|
||||||
<a
|
<a
|
||||||
className={'link--primary'}
|
className={'link--primary'}
|
||||||
href={`${assetCanonicalUrl}.${fileExt}`}
|
href={`${assetCanonicalUrl}.${fileExt}`}
|
||||||
download={name}
|
download={`${name}.${fileExt}`}
|
||||||
>
|
>
|
||||||
Download
|
Download
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue