From 86d9bac54d855cfd6ed6257730c77eada5c236ba Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 14 Jul 2020 23:37:09 +0200 Subject: [PATCH] bugfix: update save config to moonraker .8 --- src/store/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/actions.js b/src/store/actions.js index 989e2924..5178df32 100644 --- a/src/store/actions.js +++ b/src/store/actions.js @@ -70,7 +70,7 @@ export default { let formData = new FormData(); formData.append('file', file); - axios.post('http://' + state.socket.hostname + ':' + state.socket.port + '/printer/files/upload', + axios.post('http://' + state.socket.hostname + ':' + state.socket.port + '/server/files/upload', formData, { headers: { 'Content-Type': 'multipart/form-data' } }