Skip to content

Commit f7a649a

Browse files
committed
fix: websocket connection issues in production
1 parent af4f4c0 commit f7a649a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/api/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"version": "v1",
55
"status": "active",
6-
"release_date": "2025-08-06T17:31:26.311348+05:30",
6+
"release_date": "2025-08-10T19:27:13.110334+05:30",
77
"end_of_life": "0001-01-01T00:00:00Z",
88
"changes": [
99
"Initial API version"

cli/app/commands/install/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def _update_environment_variables(self, env_values: dict) -> dict:
309309
'ALLOWED_ORIGIN': f"{protocol}://{view_host}",
310310
'SSH_HOST': host_ip,
311311
'SSH_PRIVATE_KEY': self._get_config('ssh_key_path'),
312-
'WEBSOCKET_URL': f"{ws_protocol}://{view_host}/ws",
312+
'WEBSOCKET_URL': f"{ws_protocol}://{api_host}/ws",
313313
'API_URL': f"{protocol}://{api_host}/api",
314314
'WEBHOOK_URL': f"{protocol}://{api_host}/api/v1/webhook",
315315
}

0 commit comments

Comments
 (0)