Cross origin in download asset from url: local installation


#1

we are getting cross resource origin problem in downloading of asset from asset url


#2

Never really seen this issue. Might be a problem how you configured the asset store.


#3

Hi,we are using local installation.


#4

Then there is an issue on your instance. As mentioned, never seen this before.


#5

Dear Nitai ,

For downloading the image , I am using HTML anchor tag, as

But as per HTML5 stander, download attribute of tag, only works for same-origin URLs.
So , Is there any mechanism to download image form Razuna directly with help of java-script or HTML5?

You can see the download example at below link.
https://www.w3schools.com/tags/att_a_download.asp


#6

The API will return the full URL to the assets. You can use that URL to use in JS.

Cross-scripting is a web server configuration.