خرید بک لینک

Vote count: 0

we have htmls and images stored in the Github, we decided to move htmls and images to Azure blob storage, so that we can easily manage them. these htmls are requested by Ajax request and its content is then added to a asp.net page.

Now what really happens, the relative image path in html (e.g. /images/abc.jpg) is routed to webapp (e.g mywebapp.com/images/abc.png) and we need to route them to (http://myazureblob.windows.net/images/abc.png).

The catch is only first page is served as asp.net page, and all(~100s of html) are requested from client side code in javascript.

the easiest possible solution is to modify the html and convert them to fix blob storage before uploading the html or change them at run time on client's machine

Any other thoughts, or better way to achieve these?

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 8 خرداد 1395 ساعت: 15:40

صفحه بندی