added token

This commit is contained in:
sanjayk03-dev
2024-01-23 01:14:09 +05:30
parent cef1e490f5
commit b1260ef82e
2 changed files with 4 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ module.exports = {
loadMacrosGcode: async function () {
const file = this.selectedValues[this.tab - 1];
if (this.selectedValues[this.tab - 1] != "default") {
const response = await fetch(`/api/file/%7B%MACROS%7D${file}`, {
const response = await fetch(`/api/file/EgZjaHJvbWUqCggBEAAYsQMYgAQyBggAEEUYOTIKCAE${file}`, {
cache: "no-cache",
});
const text = (await response.text()).split(" ").join("\n");