fetching macros file
This commit is contained in:
@@ -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/${file}`, {
|
||||
const response = await fetch(`/api/file/{%MACROS%}${file}`, {
|
||||
cache: "no-cache",
|
||||
});
|
||||
const text = (await response.text()).split(" ").join("\n");
|
||||
|
||||
Reference in New Issue
Block a user