Skip to content

Commit

Permalink
ChaNGES
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudy-Orozco committed Apr 27, 2024
1 parent 9022c4e commit 88bb05b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion html/WordSearchGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class UserEvent {

var connection = null;

serverUrl = "ws://" + window.location.hostname +":9880";
serverUrl = "ws://" + window.location.hostname +":9106";
//9880 for locoal
//9106 for website
// Create the connection with the server
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/uta/cse3310/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public static void main(String[] args) {
//9880 or 9106 for Websocket

String HttpPort = System.getenv("HTTP_PORT");
int port = 9080;
int port = 9006;
if (HttpPort!=null) {
port = Integer.valueOf(HttpPort);
}
Expand All @@ -449,7 +449,7 @@ public static void main(String[] args) {
H.start();
System.out.println("http Server started on port: " + port);

port = 9880;
port = 9106;
String WSPort = System.getenv("WEBSOCKET_PORT");
if (WSPort!=null) {
port = Integer.valueOf(WSPort);
Expand Down

0 comments on commit 88bb05b

Please sign in to comment.