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": { "socket": {
"hostname": "voron250.local",
"port": 80,
"reconnectInterval": 3000
} }
} }

View File

@ -129,7 +129,7 @@ export default {
methods: { methods: {
emergencyStop: function() { emergencyStop: function() {
this.$store.commit('setLoadingEmergencyStop', true); 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) { drawFavicon(val) {
let favicon = document.getElementById('favicon'); let favicon = document.getElementById('favicon');