Skip to content

Commit 7a7c2a1

Browse files
HALSim websocket server only listens on localhost (#1115)
* HALSim websocket server only listens on localhost * chore: Remove environment variables from samples --------- Co-authored-by: HunterBarclay <[email protected]>
1 parent 569e075 commit 7a7c2a1

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

simulation/samples/JavaAutoSample/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ test {
9191
wpi.sim.addGui().defaultEnabled = true
9292
wpi.sim.addDriverstation()
9393

94-
wpi.sim.envVar("HALSIMWS_HOST", "127.0.0.1")
9594
wpi.sim.addWebsocketsServer().defaultEnabled = true
9695

9796
// Setting up my Jar File. In this case, adding all libraries into the main jar ('fat jar')

simulation/samples/JavaSample/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ test {
9191
wpi.sim.addGui().defaultEnabled = true
9292
wpi.sim.addDriverstation()
9393

94-
wpi.sim.envVar("HALSIMWS_HOST", "127.0.0.1")
9594
wpi.sim.addWebsocketsServer().defaultEnabled = true
9695

9796
// Setting up my Jar File. In this case, adding all libraries into the main jar ('fat jar')

tutorials/CodeSimulation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def includeDesktopSupport = true
2727
In order to communicate with your browser, you'll need to enable the websocket server extension with the following:
2828

2929
```java
30-
wpi.sim.envVar("HALSIMWS_HOST", "127.0.0.1")
3130
wpi.sim.addWebsocketsServer().defaultEnabled = true
3231
```
3332

0 commit comments

Comments
 (0)