fix browser side
This commit is contained in:
parent
c34d0277ba
commit
b0b5a469a4
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ document.querySelector("#giveme").addEventListener("click", () => {
|
|||
var patchedFile = string;
|
||||
|
||||
EFIConfig.doServerExtras = false;
|
||||
patchedFile = patchClient(string, new DOMParser());
|
||||
patchedFile = await patchClient(string, new DOMParser());
|
||||
|
||||
var blob = new Blob([patchedFile], { type: file.type });
|
||||
saveAs(blob, "processed." + fileType);
|
||||
|
|
@ -41,7 +41,7 @@ document.querySelector("#givemeserver").addEventListener("click", () => {
|
|||
var patchedFile = string;
|
||||
|
||||
EFIConfig.doServerExtras = true;
|
||||
patchedFile = patchClient(string, new DOMParser());
|
||||
patchedFile = await patchClient(string, new DOMParser());
|
||||
|
||||
var blob = new Blob([patchedFile], { type: file.type });
|
||||
saveAs(blob, "efserver." + fileType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue