Update to Moonraker .08-alpha (emergency stop)

This commit is contained in:
Stefan Dej 2020-07-05 23:43:35 +02:00
parent accde2227b
commit fb242bc5d3
2 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,4 @@
{
"socket": {
"hostname": "voron250.local",
"port": 80,
"reconnectInterval": 3000
}
}

View File

@ -129,7 +129,7 @@ export default {
methods: {
emergencyStop: function() {
this.$store.commit('setLoadingEmergencyStop', true);
this.$socket.sendObj('post_printer_gcode_script', {script: 'M112'}, 'setLoadingEmergencyStop');
this.$socket.sendObj('post_printer_emergency_stop', {}, 'setLoadingEmergencyStop');
},
drawFavicon(val) {
let favicon = document.getElementById('favicon');