proxied download match direct link, fix #225 and #222

This commit is contained in:
Spencer Woo
2022-01-02 16:13:21 +00:00
committed by GitHub
parent 8eb52ad3df
commit 312bcff515
3 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ const DownloadButtonGroup: React.FC<{ downloadUrl: string }> = ({ downloadUrl })
clipboard.copy(`${getBaseUrl()}/api?path=${asPath}&raw=true`)
toast.success('Copied direct link to clipboard.')
}}
btnColor="yellow"
btnColor="pink"
btnText="Copy direct link"
btnIcon="copy"
btnTitle="Copy the permalink to the file to the clipboard"