changed filehandler to put ok for macros

This commit is contained in:
sanjayk03-dev
2024-01-23 15:48:08 +05:30
parent 1fbfbf8d09
commit abc52a1543
3 changed files with 44 additions and 19 deletions

View File

@@ -171,7 +171,7 @@ module.exports = {
}
};
xhr.open("PUT", `/api/file/${encodeURIComponent(filename)}`, true);
xhr.open("PUT", `/api/file/EgZjaHJvbWUqCggBEAAYsQMYgAQyBggAEEUYOTIKCAE${encodeURIComponent(filename)}`, true);
xhr.send(file);
const gcodeData = {