[Vuejs]-How to Differentiate DOCS and PSD base64 URL?

0👍

base64 does not contain the file name. However, the only way to know the extension is by the file name. So you have to find an other way to get the file name. If you use an input[type=file], you can get the name by referring this answer.

Leave a comment