Skip to content

Commit 9070238

Browse files
committed
Fix: wss not enabled in prod
1 parent 473307c commit 9070238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/utils/apiResolver.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* websocket url
1515
*/
1616
export const wsUrl = IS_PRODUCTION ?
17-
`ws://${window.location.host}/ws/init` :
17+
`wss://${window.location.host}/ws/init` :
1818
'http://localhost:8080/ws/init'
1919

2020

0 commit comments

Comments
 (0)