bugfix: update save config to moonraker .8
This commit is contained in:
parent
bb0b7b58fa
commit
86d9bac54d
@ -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' }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user