fixing config template

This commit is contained in:
sanjayk03-dev
2024-01-22 03:52:46 +05:30
parent 5bee98edef
commit 3859393086
3 changed files with 8 additions and 15 deletions

View File

@@ -109,12 +109,13 @@ module.exports = new Vue({
template: require("../resources/config-template.json"), template: require("../resources/config-template.json"),
config: { config: {
settings: { units: "METRIC" }, settings: { units: "METRIC" },
motors: [{}, {}, {}, {},{}, {}, {}, {}], motors: [{}, {}, {}, {}],
version: "<loading>", version: "<loading>",
full_version: "<loading>", full_version: "<loading>",
ip: "<>", ip: "<>",
wifiName: "not connected", wifiName: "not connected",
macros:[{},{},{}] macros:[{},{},{},{},{},{},{},{}],
macrosList:[]
}, },
state: { state: {
messages: [], messages: [],

View File

@@ -645,7 +645,9 @@
} }
}, },
"macrosList": [ "macrosList": {
"type":"list",
"default":[
"FireLaser.ngc", "FireLaser.ngc",
"GoHomeXYZ.ngc", "GoHomeXYZ.ngc",
"ParkRearRightWW.ngc", "ParkRearRightWW.ngc",
@@ -654,7 +656,8 @@
"TurnOffSpindleAndLaser.ngc", "TurnOffSpindleAndLaser.ngc",
"VacOn.ngc", "VacOn.ngc",
"TurnOffVac.ngc" "TurnOffVac.ngc"
], ]
},
"admin": { "admin": {
"auto-check-upgrade": { "auto-check-upgrade": {

View File

@@ -1,11 +0,0 @@
[
{
},
{
},
{
}
]