Skip to content

Commit dc1dae7

Browse files
committed
Merge branch 'wss-protocol' into 'master'
fix(ui): use wss protocol for staging WebSocket servers See merge request postgres-ai/database-lab!855
2 parents 3fb66de + 1ceed08 commit dc1dae7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/packages/platform/deploy/configs/dev.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export PORT=3000
99
export REPLICAS=1
1010
export REACT_APP_API_SERVER="https://v2.postgres.ai/api/general"
11-
export REACT_APP_WS_SERVER="ws://v2.postgres.ai/websockets"
11+
export REACT_APP_WS_SERVER="wss://v2.postgres.ai/websockets"
1212
export REACT_APP_SIGNIN_URL="https://console-dev.postgres.ai/signin"
1313
export REACT_APP_EXPLAIN_DEPESZ_SERVER="https://explain-depesz.postgres.ai/"
1414
export REACT_APP_EXPLAIN_PEV2_SERVER="https://v2.postgres.ai/explain-pev2/"

ui/packages/platform/deploy/configs/staging.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export PORT=3000
99
export REPLICAS=1
1010
export REACT_APP_API_SERVER="https://v2.postgres.ai/api/general"
11-
export REACT_APP_WS_SERVER="ws://v2.postgres.ai/websockets"
11+
export REACT_APP_WS_SERVER="wss://v2.postgres.ai/websockets"
1212
export REACT_APP_SIGNIN_URL="https://console-v2.postgres.ai/signin"
1313
export REACT_APP_EXPLAIN_DEPESZ_SERVER="https://explain-depesz.postgres.ai/"
1414
export REACT_APP_EXPLAIN_PEV2_SERVER="https://v2.postgres.ai/explain-pev2/"

0 commit comments

Comments
 (0)