Skip to content

Commit

Permalink
removed port guard from webgui
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed May 26, 2024
1 parent 7d15109 commit 87ed592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/myrobotlab/service/WebGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ public WebGuiConfig getConfig() {
public WebGuiConfig apply(WebGuiConfig c) {
super.apply(c);

if (c.port != null && (port != null && c.port.intValue() != port.intValue())) {
if (c.port != null) {
setPort(c.port);
}
autoStartBrowser(c.autoStartBrowser);
Expand All @@ -1184,7 +1184,7 @@ public static void main(String[] args) {

try {

Runtime.main(new String[] { "--log-level", "warn", "-s", "log", "Log", "webgui", "WebGui", "intro", "Intro", "python", "Python" });
Runtime.main(new String[] { "--log-level", "warn", "-s", "webgui", "WebGui"});
// Runtime.main(new String[] { "--install" });

boolean done = true;
Expand Down

0 comments on commit 87ed592

Please sign in to comment.