how to generate a url for a file without URL.createobjectURL() javascript

Viewed 142

I would like to create a url for any file that is passed in so that on click of the url, the file can be viewed. However, using URl.createobjectURL results in a blob url. I would like to avoid this. Are there any other alternatives for creating file urls?

0 Answers
Related