Using download attribute with remote file

后端 未结 1 874
深忆病人
深忆病人 2021-01-25 19:19

I\'m trying to get the download attribute to work on a remote link to image.

Here is an example of what I am trying to accomplish:



        
相关标签:
1条回答
  • 2021-01-25 19:39

    If you're unable to host the file yourself, you might be able to get around this by having a pass through proxy that you host. Pass the endpoint a filename and the server could manage the download process and avoid the cross domain hangups.

    0 讨论(0)
提交回复
热议问题