mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 10:55:58 +08:00
Fixed connect login URL
This commit is contained in:
parent
1051f77432
commit
a63534211f
@ -635,7 +635,7 @@ wxString ConnectWebViewPanel::get_login_script(bool refresh)
|
||||
console.error('Login error occurred', msg);
|
||||
window._prusaSlicer.postMessage(msg);
|
||||
};
|
||||
window.fetch('/slicer/loginx', {method: 'POST', headers: {Authorization: 'Bearer %s'}})
|
||||
window.fetch('/slicer/login', {method: 'POST', headers: {Authorization: 'Bearer %s'}})
|
||||
.then(function (resp) {
|
||||
console.log('Login resp', resp);
|
||||
resp.text()
|
||||
|
Loading…
x
Reference in New Issue
Block a user