mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-12 06:52:57 +00:00
ENH: use a rare unfrequent port
Change-Id: I29cd679c9d1e435170cbd091cd85a0973cca1012 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user