Added support for optional Base64 encoding in FETCH_QDN_RESOURCE.

This commit is contained in:
CalDescent
2023-03-03 15:39:37 +00:00
parent 9ea2d7ab09
commit b254ca7706
3 changed files with 23 additions and 11 deletions

View File

@@ -173,6 +173,7 @@ window.addEventListener("message", (event) => {
url = url.concat("?");
if (data.filepath != null) url = url.concat("&filepath=" + data.filepath);
if (data.rebuild != null) url = url.concat("&rebuild=" + new Boolean(data.rebuild).toString())
if (data.encoding != null) url = url.concat("&encoding=" + data.encoding);
response = httpGet(url);
break;