-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35c589e
commit 3b68f31
Showing
7 changed files
with
74 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
const SERVER_IP = import.meta.env.VITE_SERVER_IP || 'localhost'; | ||
const SERVER_PORT = import.meta.env.VITE_SERVER_PORT || '8080'; | ||
const SOCKET_SERVER_URL = `ws://${SERVER_IP}:${SERVER_PORT}`; | ||
const HTTP_SERVER_URL = `http://${SERVER_IP}:${SERVER_PORT}`; | ||
const SERVER_URL = 'https://notespace-0es7.onrender.com'; | ||
|
||
export default { | ||
SOCKET_SERVER_URL, | ||
HTTP_SERVER_URL, | ||
SERVER_URL, | ||
}; |
2 changes: 1 addition & 1 deletion
2
code/client/src/services/communication/http/httpCommunication.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters