mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
ENH: use a rare unfrequent port
Change-Id: I29cd679c9d1e435170cbd091cd85a0973cca1012 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
0aa2916d4b
commit
7ecc8a9834
3 changed files with 4 additions and 3 deletions
|
@ -271,7 +271,7 @@ void ZUserLogin::OnScriptMessage(wxWebViewEvent &evt)
|
|||
CallAfter([this, sequence_id] {
|
||||
json ack_j;
|
||||
ack_j["command"] = "get_localhost_url";
|
||||
ack_j["response"]["base_url"] = LOCALHOST_URL;
|
||||
ack_j["response"]["base_url"] = std::string(LOCALHOST_URL) + std::to_string(LOCALHOST_PORT);
|
||||
ack_j["response"]["result"] = "success";
|
||||
ack_j["sequence_id"] = sequence_id;
|
||||
wxString str_js = wxString::Format("window.postMessage(%s)", ack_j.dump());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue