Populating an image url from a REST service, Appery overwriting image source url
I am having trouble appending a url to an image file name. I have a REST service mapped to the image component and have added the following javascript.
$(element).attr( "src", "http://166.78.237.229/CatalogFiles/" + value);
The image source is updated but Appery is overwriting it after the image loads.
Here is the header information:
Remote Address:166.78.237.229:80
Request URL:http://166.78.237.229/CatalogFiles/on...
Request Method:GET
Status Code:200 OK (from cache)
Remote Address:107.22.249.220:80
Request URL:http://appery.io/app/view/76bda11c-af...
Request Method:GET
Status Code:302 Moved Temporarily
Any idea on how stop Appery from overwriting the image source?