mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-05 09:07:39 +00:00
CrealityPrint: remove hardcoded :4408 from Device WebView URL (#14326)
* CrealityPrint: use printhost_port for WebView URL instead of hardcoded :4408 Fixes #4408 — when printhost_port is configured, use that port in the Device WebView URL instead of always defaulting to :4408. * CrealityPrint: remove hardcoded :4408 from Device WebView URL Drop the CrealityPrint-specific get_print_host_webui override that unconditionally appended :4408. The generic fallback in PrintHost already uses print_host_webui/print_host config — users who need Mainsail on port 4408 should set print_host_webui explicitly. Fixes #4408
This commit is contained in:
@@ -92,10 +92,6 @@ std::string PrintHost::get_print_host_webui(DynamicPrintConfig* config)
|
||||
webui_url = ElegooLink::get_print_host_webui(config);
|
||||
break;
|
||||
}
|
||||
case htCrealityPrint: {
|
||||
webui_url = CrealityPrint::get_print_host_webui(config);
|
||||
break;
|
||||
}
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user